Fix return value of "image set" command
"image set" command should return None. But in one path, it returns ({}, {}). This patch fixes this. Change-Id: I3847e661cb7e89863921a3f0a859d9b1a8077ede
This commit is contained in:
parent
2819450be5
commit
61c1d985c7
@ -691,7 +691,7 @@ class SetImage(command.Command):
|
|||||||
|
|
||||||
if not kwargs:
|
if not kwargs:
|
||||||
self.log.warning('no arguments specified')
|
self.log.warning('no arguments specified')
|
||||||
return {}, {}
|
return
|
||||||
|
|
||||||
image = image_client.images.update(image.id, **kwargs)
|
image = image_client.images.update(image.id, **kwargs)
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user