summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Santa Barbara <justin@fathomdb.com>2011-03-22 22:50:45 -0700
committerJustin Santa Barbara <justin@fathomdb.com>2011-03-22 22:50:45 -0700
commit95a32b4ae8d418576799fb9dd5d34e73728d7a1f (patch)
tree536633ae233ff2fae57e9ea14e750bab31b629f7
parent52c2bb5e7fadf12aae96d895d374990fd4990e29 (diff)
downloadnova-95a32b4ae8d418576799fb9dd5d34e73728d7a1f.tar.gz
nova-95a32b4ae8d418576799fb9dd5d34e73728d7a1f.tar.xz
nova-95a32b4ae8d418576799fb9dd5d34e73728d7a1f.zip
Clarified my "Yuk" comment
-rw-r--r--nova/virt/xenapi/vmops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py
index 6cd61a86f..a0c84c803 100644
--- a/nova/virt/xenapi/vmops.py
+++ b/nova/virt/xenapi/vmops.py
@@ -73,7 +73,7 @@ class VMOps(object):
if not vm_rec["is_a_template"] and not vm_rec["is_control_domain"]:
name = vm_rec["name_label"]
- # TODO(justinsb): Yuk...
+ # TODO(justinsb): This a roundabout way to map the state
openstack_format = VMHelper.compile_info(vm_rec)
state = openstack_format['state']