From 12764a020a4171eee738b1e2a8a3d5340f4da7a1 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 16 Sep 2022 16:19:09 +0200 Subject: Fix prepare script --- scenarios/garage-s3lat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scenarios/garage-s3lat') 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) -- cgit v1.2.3