From b815268b589ec6e88b38b4445e1016049af32ea9 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 28 Mar 2013 10:50:40 -0700 Subject: [PATCH] run: machine-type: foo, not machine_type: foo Signed-off-by: Sage Weil --- teuthology/run.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/teuthology/run.py b/teuthology/run.py index f15bb99205511..6b7d89b23b9fe 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -103,7 +103,9 @@ def main(): machine_type = ctx.machine_type if machine_type is None: - machine_type = ctx.config.get('machine_type', 'plana') + machine_type = ctx.config.get('machine-type') + if machine_type is None: + machine_type = ctx.config.get('machine_type', 'plana') if ctx.block: assert ctx.lock, \ -- 2.39.5