Created
March 8, 2016 20:18
-
-
Save patrick-east/ca50040cbfaaefa4afe3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cinder/objects/volume.py b/cinder/objects/volume.py | |
index d50175e..3556ceb 100644 | |
--- a/cinder/objects/volume.py | |
+++ b/cinder/objects/volume.py | |
@@ -455,6 +455,6 @@ class VolumeList(base.ObjectListBase, base.CinderObject): | |
limit, sort_keys=sort_keys, | |
sort_dirs=sort_dirs, | |
filters=filters, offset=offset) | |
- expected_attrs = ['admin_metadata', 'metadata'] | |
+ expected_attrs = ['admin_metadata', 'metadata', 'volume_type'] | |
return base.obj_make_list(context, cls(context), objects.Volume, | |
volumes, expected_attrs=expected_attrs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment