Convert True to string for image registry

Change-Id: I91e56c6beb25b181706c67bc3e973b34843a2208
Closes-bug: 1493115
This commit is contained in:
Vitaly Gridnev 2015-09-08 14:29:20 +03:00
parent 60b3362212
commit bb4188cd08

View File

@ -107,7 +107,7 @@ class SaharaImageManager(images.ImageManager):
"""Adds tags to the specified image."""
tags = _ensure_tags(tags)
self.set_meta(image, {PROP_TAG + tag: True for tag in tags})
self.set_meta(image, {PROP_TAG + tag: 'True' for tag in tags})
def untag(self, image, tags):
"""Removes tags from the specified image."""