From 47841a04b99083526ba6635866f3801c16ae01fe Mon Sep 17 00:00:00 2001 From: Wang Yan Date: Thu, 24 Dec 2020 20:10:57 +0800 Subject: [PATCH] fix quota cannot be updated after gc (#13844) Signed-off-by: Wang Yan --- src/controller/gc/callback.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/gc/callback.go b/src/controller/gc/callback.go index 63cf2958b..82442b011 100644 --- a/src/controller/gc/callback.go +++ b/src/controller/gc/callback.go @@ -20,7 +20,7 @@ func init() { log.Fatalf("failed to registry GC call back, %v", err) } - if err := task.RegisterTaskStatusChangePostFunc(job.ImageGC, gcTaskStatusChange); err != nil { + if err := task.RegisterTaskStatusChangePostFunc(GCVendorType, gcTaskStatusChange); err != nil { log.Fatalf("failed to register the task status change post for the gc job, error %v", err) }