Merge "Fix update-image command"

This commit is contained in:
Jenkins 2014-03-31 18:06:57 +00:00 committed by Gerrit Code Review
commit 933a7e80dc

View File

@ -129,7 +129,7 @@ class NodePoolCmd(object):
image = provider.images[self.args.image]
with self.pool.getDB().getSession() as session:
self.pool.updateImage(session, provider, image)
self.pool.updateImage(session, provider.name, image.name)
def alien_list(self):
self.pool.reconfigureManagers(self.pool.config)