Fix update-image command

The updateImage method signature changed to require name strings
instead of objects.

Change-Id: Ic8aefe86e59d2e36db903fe3735b4907a6c2bf2a
This commit is contained in:
James E. Blair 2014-03-31 10:53:02 -07:00
parent ad7b9a849b
commit 4a60b2846e

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)