diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2011-07-06 06:20:38 -0700 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2011-07-06 06:20:38 -0700 |
| commit | 1c90eb34085dbb69f37e2f63dea7496afabb06b3 (patch) | |
| tree | 18300d8ea505f83d9fc5ea31b6ab5f6674ec0abb /nova/api | |
| parent | ca152762aa73a93583be2ada237cf8bbbcc99220 (diff) | |
| download | nova-1c90eb34085dbb69f37e2f63dea7496afabb06b3.tar.gz nova-1c90eb34085dbb69f37e2f63dea7496afabb06b3.tar.xz nova-1c90eb34085dbb69f37e2f63dea7496afabb06b3.zip | |
clean up compute_api.get_all filter name remappings. ditch fixed_ip one-off code. fixed ec2 api call to this to compensate
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/cloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index 966c3a564..db49baffa 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -242,7 +242,7 @@ class CloudController(object): search_opts=search_opts) except exception.NotFound: instance_ref = None - if instance_ref is None: + if not instance_ref: return None # This ensures that all attributes of the instance |
