From 213bdc8b86445a7b64ef81851626a3122c6e31df Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 22 Aug 2014 13:25:26 -0600 Subject: [PATCH] Reflect updated field names Signed-off-by: Zack Cerza --- teuthology/lock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/lock.py b/teuthology/lock.py index 1d49d54713..b0ce02ddf9 100644 --- a/teuthology/lock.py +++ b/teuthology/lock.py @@ -101,7 +101,7 @@ def main(ctx): if statuses: if ctx.machine_type: statuses = [_status for _status in statuses - if _status['type'] == ctx.machine_type] + if _status['machine_type'] == ctx.machine_type] if not machines and ctx.owner is None and not ctx.all: ctx.owner = misc.get_user() if ctx.owner is not None: -- 2.39.5