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

Fix buig with image meta set

parent c308d73f
......@@ -334,7 +334,7 @@ class image_meta_set(_init_image, _optional_output_cmd):
for term in (
'name', 'disk_format', 'container_format', 'status', 'publish',
'unpublish', 'properties'):
if self['term']:
if self[term]:
if self['publish'] and self['unpublish']:
'--publish and --unpublish are mutually exclusive')
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