]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
schedule: fix var name
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 2 Nov 2012 18:33:46 +0000 (11:33 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Fri, 2 Nov 2012 18:33:46 +0000 (11:33 -0700)
teuthology/run.py

index 0bb540c76904f40f2295399d042437199bb1bf51..5681170b9480aa5892ae8a9c90f06264135fd618 100644 (file)
@@ -259,8 +259,8 @@ def schedule():
         tube += '-' + ctx.branch
     beanstalk.use(tube)
 
-    if ctx.list:
-        for jobid in ctx.list:
+    if ctx.show:
+        for jobid in ctx.show:
             job = beanstalk.peek(jobid)
             if job is None and ctx.verbose:
                 print 'job {jid} is not in the queue'.format(jid=jobid)