]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Reflect updated field names
authorZack Cerza <zack.cerza@inktank.com>
Fri, 22 Aug 2014 19:25:26 +0000 (13:25 -0600)
committerZack Cerza <zack.cerza@inktank.com>
Mon, 25 Aug 2014 17:14:39 +0000 (11:14 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/lock.py

index 1d49d54713be06057579d102588b8b3779358108..b0ce02ddf91600950743febe6ffdf46fe564540a 100644 (file)
@@ -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: