mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-18 14:47:38 +01:00
Add gc parameters when to update gc schedule
Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
10effb0a02
commit
2b99e148d9
@ -87,6 +87,9 @@ func (gc *GCAPI) Put() {
|
||||
return
|
||||
}
|
||||
ajr.Name = common_job.ImageGC
|
||||
ajr.Parameters = map[string]interface{}{
|
||||
"redis_url_reg": os.Getenv("_REDIS_URL_REG"),
|
||||
}
|
||||
gc.updateSchedule(ajr)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user