diff options
| author | Trey Morris <trey.morris@rackspace.com> | 2011-06-15 17:36:07 -0500 |
|---|---|---|
| committer | Trey Morris <trey.morris@rackspace.com> | 2011-06-15 17:36:07 -0500 |
| commit | a2ea6652fce1b75d61b2217676c8447327a2467e (patch) | |
| tree | c232bd2dd4a73a2ff5aac20c699bc36783582c8d | |
| parent | e3c2a97049513e4cff1700bd87d780f6e41afc87 (diff) | |
removed commented out shim on Instance class
| -rw-r--r-- | nova/db/sqlalchemy/models.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/nova/db/sqlalchemy/models.py b/nova/db/sqlalchemy/models.py index e9689774c..605e6126a 100644 --- a/nova/db/sqlalchemy/models.py +++ b/nova/db/sqlalchemy/models.py @@ -184,13 +184,6 @@ class Instance(BASE, NovaBase): def project(self): return auth.manager.AuthManager().get_project(self.project_id) - #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 - image_ref = Column(String(255)) kernel_id = Column(String(255)) ramdisk_id = Column(String(255)) |
