Skip to content

Commit

Permalink
Merge "Fix type error in state comparison"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Aug 13, 2012
2 parents dafa79f + a0ef5ad commit 7c9bb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova/virt/libvirt/imagecache.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _list_running_instances(self, context):
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'])
Expand Down

0 comments on commit 7c9bb06

Please sign in to comment.