diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-01-11 03:02:15 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-01-11 03:02:15 +0000 |
| commit | fabc6ec5d8eb09e6891637bd884e09da05288b6c (patch) | |
| tree | ab6679b6d711383d4f15a6c1abc28411b0a5dadc /nova/virt | |
| parent | a4e290a0f17b1f773a9d53255857d19b02164bcd (diff) | |
| parent | 97f0ec7039611e4c9a7c543ea4631d7182a5ec99 (diff) | |
Merge "Access instance as dict, not object in xenapi"
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/xenapi/driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/driver.py b/nova/virt/xenapi/driver.py index bdb73b28f..0acc360e8 100644 --- a/nova/virt/xenapi/driver.py +++ b/nova/virt/xenapi/driver.py @@ -311,7 +311,7 @@ class XenAPIDriver(driver.ComputeDriver): # we only care about VMs that correspond to a nova-managed # instance: - imap = dict([(inst.name, inst.uuid) for inst in instances]) + imap = dict([(inst['name'], inst['uuid']) for inst in instances]) bwcounters = [] # get a dictionary of instance names. values are dictionaries |
