Skip to content
Browse files

Rework GlanceImageService._translate_base() to not call BaseImageServ…

…ice._translate_base() otherwise the wrong class attributes are used in properties construction...
  • Loading branch information...
2 parents a9e628b + db755b3 commit 9761e7690ab8f13a76c761ba6055372a0d29eaff jaypipes@gmail.com committed with Tarmac Apr 14, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 nova/image/glance.py
View
3 nova/image/glance.py
@@ -186,7 +186,8 @@ def _translate_to_base(cls, image_meta):
"""Overriding the base translation to handle conversion to datetime
objects
"""
- image_meta = service.BaseImageService._translate_to_base(image_meta)
+ image_meta = service.BaseImageService._propertify_metadata(
+ image_meta, cls.SERVICE_IMAGE_ATTRS)
image_meta = _convert_timestamps_to_datetimes(image_meta)
return image_meta

0 comments on commit 9761e76

Please sign in to comment.
Something went wrong with that request. Please try again.