diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2011-08-08 10:12:01 -0400 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2011-08-08 10:12:01 -0400 |
| commit | e4ee8b54d0e840050357902b78f7e48013be9096 (patch) | |
| tree | bdffcd778cd3ebf42e0cb0c9e57c277da2abe7d1 /nova/api | |
| parent | 8c75de3188fdbec6456fcf7071b6b08b9d1a0d40 (diff) | |
upper() is even better.
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/views/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/views/images.py b/nova/api/openstack/views/images.py index 8539fbcbf..912303d14 100644 --- a/nova/api/openstack/views/images.py +++ b/nova/api/openstack/views/images.py @@ -77,7 +77,7 @@ class ViewBuilder(object): "status": image_obj.get("status"), }) - if image["status"] == "ACTIVE": + if image["status"].upper() == "ACTIVE": image["progress"] = 100 else: image["progress"] = 0 |
