Created
February 24, 2016 20:07
-
-
Save mriedem/c10fb017ee10c7cd2d33 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/nova/objects/instance.py b/nova/objects/instance.py | |
index 4ee3ca9..2768fb9 100644 | |
--- a/nova/objects/instance.py | |
+++ b/nova/objects/instance.py | |
@@ -88,7 +88,8 @@ class Instance(base.NovaPersistentObject, base.NovaObject, | |
base.NovaObjectDictCompat): | |
# Version 2.0: Initial version | |
# Version 2.1: Added services | |
- VERSION = '2.1' | |
+ # 2.2: drop tags | |
+ VERSION = '2.2' | |
fields = { | |
'id': fields.IntegerField(), | |
@@ -179,7 +180,6 @@ class Instance(base.NovaPersistentObject, base.NovaObject, | |
nullable=True), | |
'pci_requests': fields.ObjectField('InstancePCIRequests', | |
nullable=True), | |
- 'tags': fields.ObjectField('TagList'), | |
'flavor': fields.ObjectField('Flavor'), | |
'old_flavor': fields.ObjectField('Flavor', nullable=True), | |
'new_flavor': fields.ObjectField('Flavor', nullable=True), | |
user@xubuntu:~/git/nova$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment