mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 14:11:03 +01:00
Solved parameter bug
This commit is contained in:
parent
6f6b804593
commit
26bb8822b3
@ -55,7 +55,7 @@ def pause_and_move(storage_path, volume, volume_path, containers):
|
|||||||
os.makedirs(storage_volume_path,exist_ok=False)
|
os.makedirs(storage_volume_path,exist_ok=False)
|
||||||
|
|
||||||
# Move the data
|
# Move the data
|
||||||
run_rsync(f"{storage_volume_path}/", f"{volume_path}/")
|
run_rsync(f"{volume_path}/",f"{storage_volume_path}/")
|
||||||
|
|
||||||
# Delete the source directory
|
# Delete the source directory
|
||||||
delete_directory(volume_path)
|
delete_directory(volume_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user