diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-09-16 16:19:09 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-09-16 16:19:09 +0200 |
commit | 12764a020a4171eee738b1e2a8a3d5340f4da7a1 (patch) | |
tree | f84833d8e1967db93e78e3dda7f1675178929ad1 /scenarios/garage-s3lat | |
parent | b95db09b96d6a901004fdf3ccccc98e297c9102d (diff) | |
download | mknet-12764a020a4171eee738b1e2a8a3d5340f4da7a1.tar.gz mknet-12764a020a4171eee738b1e2a8a3d5340f4da7a1.zip |
Fix prepare script
Diffstat (limited to 'scenarios/garage-s3lat')
-rwxr-xr-x | scenarios/garage-s3lat | 8 |
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) |