Skip to content

Commit 61c1d98

Browse files
author
Tang Chen
committed
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
1 parent 2819450 commit 61c1d98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/image/v1/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def take_action(self, parsed_args):
691691

692692
if not kwargs:
693693
self.log.warning('no arguments specified')
694-
return {}, {}
694+
return
695695

696696
image = image_client.images.update(image.id, **kwargs)
697697
finally:

0 commit comments

Comments
 (0)