From 9ef64c8ccbcdacfef642b2c203ffcc45b2deaf36 Mon Sep 17 00:00:00 2001 From: Trey Morris Date: Tue, 14 Jun 2011 17:52:49 -0500 Subject: fixed instance[fixed_ip] in ec2 api, removed fixed_ip shim --- nova/db/sqlalchemy/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nova/db') 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)) -- cgit