updated kopia state
This commit is contained in:
parent
ecca76c7b8
commit
7f8fff52da
@ -94,14 +94,14 @@ if __name__ == "__main__":
|
|||||||
if not res_init:
|
if not res_init:
|
||||||
print("init error")
|
print("init error")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
if not set_policy():
|
|
||||||
print("set policy error")
|
|
||||||
sys.exit(1)
|
|
||||||
if not set_cache():
|
|
||||||
print("set cache error")
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
if args.action == "run":
|
if args.action == "run":
|
||||||
|
if not set_policy():
|
||||||
|
print("set policy error")
|
||||||
|
sys.exit(1)
|
||||||
|
if not set_cache():
|
||||||
|
print("set cache error")
|
||||||
|
sys.exit(1)
|
||||||
if not run(before_tasks={{ params.before_tasks|default([]) }}):
|
if not run(before_tasks={{ params.before_tasks|default([]) }}):
|
||||||
print("run error")
|
print("run error")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user