From 1469b6655ec276497865850d1c707372cc8881f9 Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Mon, 5 Feb 2024 11:14:42 +0100 Subject: [PATCH] worker: fix build --- worker/upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/upload.go b/worker/upload.go index 1f66fd642..bbc0aff5f 100644 --- a/worker/upload.go +++ b/worker/upload.go @@ -389,7 +389,7 @@ func (mgr *uploadManager) Stop() { mgr.mu.Lock() defer mgr.mu.Unlock() for _, u := range mgr.uploaders { - u.Stop(errWorkerShutDown) + u.Stop(ErrShuttingDown) } }