From 26bb8822b36aa9d607d3e042a27d57b4f53f674e Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 10 Jan 2024 20:42:41 +0100 Subject: [PATCH] Solved parameter bug --- .../system-storage-optimizer/files/system-storage-optimizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/system-storage-optimizer/files/system-storage-optimizer.py b/roles/system-storage-optimizer/files/system-storage-optimizer.py index 1cbf10e6..7012b975 100644 --- a/roles/system-storage-optimizer/files/system-storage-optimizer.py +++ b/roles/system-storage-optimizer/files/system-storage-optimizer.py @@ -55,7 +55,7 @@ def pause_and_move(storage_path, volume, volume_path, containers): os.makedirs(storage_volume_path,exist_ok=False) # 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_directory(volume_path)