mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-29 12:07:56 +01:00
fix quota cannot be updated after gc (#13844)
Signed-off-by: Wang Yan <wangyan@vmware.com>
This commit is contained in:
parent
75da08303a
commit
47841a04b9
@ -20,7 +20,7 @@ func init() {
|
|||||||
log.Fatalf("failed to registry GC call back, %v", err)
|
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)
|
log.Fatalf("failed to register the task status change post for the gc job, error %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user