diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-01-21 22:57:37 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-01-21 22:57:37 +0000 |
| commit | 5ac99deadc12876a532ba66b0a3a33ddb702feb9 (patch) | |
| tree | 4962f7c7380e1d6c2820e8f12f52dcc6dae0ebfc /nova/virt | |
| parent | fce9219eedf678b3f1bddc624c3233c105331b64 (diff) | |
| parent | 2af896ceccc6fa947bbdb8b06442439db1c6dc1f (diff) | |
Merge "PXE driver should not accept empty kernel UUID."
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/baremetal/pxe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/baremetal/pxe.py b/nova/virt/baremetal/pxe.py index 47bfc55af..0daac1d46 100644 --- a/nova/virt/baremetal/pxe.py +++ b/nova/virt/baremetal/pxe.py @@ -218,7 +218,7 @@ def get_tftp_image_info(instance): missing_labels = [] for label in image_info.keys(): (uuid, path) = image_info[label] - if uuid is None: + if not uuid: missing_labels.append(label) else: image_info[label][1] = os.path.join(CONF.baremetal.tftp_root, |
