fix download command / dump function

This commit is contained in:
Moritz 2024-10-22 14:18:15 +02:00
parent 79cdec6705
commit 4a49c4a7f0

View File

@ -521,7 +521,6 @@ def dump(snapshot, path):
logger.error(f"There is no latest snapshot for {SERVICE}")
exit(1)
snapshot = latest_snapshot[0]['short_id']
cmd.append(snapshot)
cmd = cmd + [snapshot, path]
print(f"Dumping {path} from snapshot '{snapshot}'")
output = subprocess.run(cmd, capture_output=True)