mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
feat(scheduler): pass the shutdown/reload ctx to running tasks (#1671)
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ func newScrubCmd(conf *config.Config) *cobra.Command {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
result, err := ctlr.StoreController.CheckAllBlobsIntegrity()
|
||||
result, err := ctlr.StoreController.CheckAllBlobsIntegrity(cmd.Context())
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user