diff options
author | Jenkins <jenkins@review.openstack.org> | 2012-08-13 16:35:55 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2012-08-13 16:35:55 +0000 |
commit | 7c9bb06622c72e5ec823f15a98cd9ea93d094f2a (patch) | |
tree | ca362d94ff5eb960b4205b0c5a0e0ead90f9bf77 /nova | |
parent | dafa79ff7880af907b5836d832e6c5dbfd7e0529 (diff) | |
parent | a0ef5ad84f1ce3502e17215ef49c83d2738d2a84 (diff) | |
download | nova-7c9bb06622c72e5ec823f15a98cd9ea93d094f2a.tar.gz nova-7c9bb06622c72e5ec823f15a98cd9ea93d094f2a.tar.xz nova-7c9bb06622c72e5ec823f15a98cd9ea93d094f2a.zip |
Merge "Fix type error in state comparison"
Diffstat (limited to 'nova')
-rw-r--r-- | nova/virt/libvirt/imagecache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/imagecache.py b/nova/virt/libvirt/imagecache.py index fe96f1aec..ba350749a 100644 --- a/nova/virt/libvirt/imagecache.py +++ b/nova/virt/libvirt/imagecache.py @@ -142,7 +142,7 @@ class ImageCacheManager(object): task_states.RESIZE_MIGRATED, task_states.RESIZE_FINISH] if instance['task_state'] in resize_states or \ - instance['vm_state'] in vm_states.RESIZED: + instance['vm_state'] == vm_states.RESIZED: self.instance_names.add(instance['name'] + '_resize') image_ref_str = str(instance['image_ref']) |