Commit e1774601 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Fix bug with --unpublish for update_image

parent e479a450
......@@ -361,7 +361,7 @@ class image_modify(_init_image, _optional_output_cmd):
disk_format=self['disk_format'],
container_format=self['container_format'],
status=self['status'],
public=self['publish'] or self['unpublish'] or None,
public=self['publish'] or (False if self['unpublish'] else None),
**meta['properties']))
if self['with_output']:
self._optional_output(self.get_image_details(image_id))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment