summaryrefslogtreecommitdiffstats
path: root/nova/db
diff options
context:
space:
mode:
Diffstat (limited to 'nova/db')
-rw-r--r--nova/db/sqlalchemy/models.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/db/sqlalchemy/models.py b/nova/db/sqlalchemy/models.py
index 9455ed95a..e9689774c 100644
--- a/nova/db/sqlalchemy/models.py
+++ b/nova/db/sqlalchemy/models.py
@@ -187,9 +187,9 @@ class Instance(BASE, NovaBase):
#TODO{tr3buchet): i don't like this shim.....
# prevents breaking ec2 api
# should go away with zones when ec2 api doesn't have compute db access
- @property
- def fixed_ip(self):
- return self.fixed_ips[0] if self.fixed_ips else None
+ #@property
+ #def fixed_ip(self):
+ # return self.fixed_ips[0] if self.fixed_ips else None
image_ref = Column(String(255))
kernel_id = Column(String(255))