]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
watch_tube() belongs to the beanstalk module
authorZack Cerza <zack@cerza.org>
Thu, 17 Apr 2014 21:04:39 +0000 (16:04 -0500)
committerZack Cerza <zack@cerza.org>
Thu, 17 Apr 2014 21:06:32 +0000 (16:06 -0500)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/worker.py

index 97ef40d10bd9c5cb3c0a15e946e07dc5321a5dd8..52337c45044758f5dc2cbe613b8c3a7807415889 100644 (file)
@@ -144,7 +144,7 @@ def main(ctx):
     read_config(ctx)
 
     connection = beanstalk.connect()
-    connection.watch_tube(ctx.tube)
+    beanstalk.watch_tube(connection, ctx.tube)
 
     while True:
         if need_restart():