use custom harbor gc schedule
This commit is contained in:
parent
d4a11b67b3
commit
78d27a45b3
@ -295,7 +295,7 @@ else:
|
|||||||
print(f"updated retention_id={retention_id}")
|
print(f"updated retention_id={retention_id}")
|
||||||
|
|
||||||
gc_payload = {
|
gc_payload = {
|
||||||
"schedule": {"type": "Schedule", "cron": gc_cron},
|
"schedule": {"type": "Custom", "cron": gc_cron},
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
}
|
}
|
||||||
status, current_gc, _ = request("GET", "/system/gc/schedule")
|
status, current_gc, _ = request("GET", "/system/gc/schedule")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user