From 89b4729f083145606dedec152c28ebac409c6b3d Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Fri, 23 Feb 2024 10:15:34 +0100 Subject: [PATCH] testing: fix TestUploadPacking --- worker/download.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/download.go b/worker/download.go index a1cc8f501..9048c033b 100644 --- a/worker/download.go +++ b/worker/download.go @@ -315,7 +315,7 @@ outer: s := slabs[respIndex] if s.PartialSlab { // Partial slab. - _, err = cw.Write(s.Data) + _, err = bw.Write(s.Data) if err != nil { mgr.logger.Errorf("failed to send partial slab", respIndex, err) return err