mirror of
https://github.com/goharbor/harbor
synced 2025-04-28 09:10:26 +00:00

For the upgrade path v1.10 - v2.1.* - v2.2.0, if user doesn't reset the GC schdule that was created in 1.10 in the v2.1, the job parameters will keep empty in the database. The fix gives a default value for the schedule record. Signed-off-by: Wang Yan <wangyan@vmware.com>