aboutsummaryrefslogtreecommitdiff
path: root/scenarios/garage-s3lat
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-09-16 16:19:09 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-09-16 16:19:09 +0200
commit12764a020a4171eee738b1e2a8a3d5340f4da7a1 (patch)
treef84833d8e1967db93e78e3dda7f1675178929ad1 /scenarios/garage-s3lat
parentb95db09b96d6a901004fdf3ccccc98e297c9102d (diff)
downloadmknet-12764a020a4171eee738b1e2a8a3d5340f4da7a1.tar.gz
mknet-12764a020a4171eee738b1e2a8a3d5340f4da7a1.zip
Fix prepare script
Diffstat (limited to 'scenarios/garage-s3lat')
-rwxr-xr-xscenarios/garage-s3lat8
1 files changed, 4 insertions, 4 deletions
diff --git a/scenarios/garage-s3lat b/scenarios/garage-s3lat
index 0307cc7..b0a8d0d 100755
--- a/scenarios/garage-s3lat
+++ b/scenarios/garage-s3lat
@@ -1,10 +1,10 @@
#!/usr/bin/env python3
-from fragments import garage, s3lat, shared
+from fragments import garage, s3lat, shared, flavor
import sys
-for flavor in sys.argv[1:]:
- if flavor in garage.version_flavor:
- garage.version = garage.version_flavor[flavor]
+for fl in sys.argv[1:]:
+ if fl in flavor.garage:
+ garage.version = flavor.garage[fl]
if shared.id() == 1:
garage.deploy_coord(version=garage.version)