fix download command / dump function
This commit is contained in:
parent
79cdec6705
commit
4a49c4a7f0
@ -521,7 +521,6 @@ def dump(snapshot, path):
|
|||||||
logger.error(f"There is no latest snapshot for {SERVICE}")
|
logger.error(f"There is no latest snapshot for {SERVICE}")
|
||||||
exit(1)
|
exit(1)
|
||||||
snapshot = latest_snapshot[0]['short_id']
|
snapshot = latest_snapshot[0]['short_id']
|
||||||
cmd.append(snapshot)
|
|
||||||
cmd = cmd + [snapshot, path]
|
cmd = cmd + [snapshot, path]
|
||||||
print(f"Dumping {path} from snapshot '{snapshot}'")
|
print(f"Dumping {path} from snapshot '{snapshot}'")
|
||||||
output = subprocess.run(cmd, capture_output=True)
|
output = subprocess.run(cmd, capture_output=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user