Fix bad comparison
This commit is contained in:
parent
1c4fb80d1f
commit
dff156b2b0
|
@ -170,7 +170,7 @@ def delete_ova(zkhandler, name):
|
||||||
def upload_ova(zkhandler, pool, name, ova_size):
|
def upload_ova(zkhandler, pool, name, ova_size):
|
||||||
# Check that we have a default_ova provisioning script
|
# Check that we have a default_ova provisioning script
|
||||||
_, retcode = provisioner.list_script("default_ova", is_fuzzy=False)
|
_, retcode = provisioner.list_script("default_ova", is_fuzzy=False)
|
||||||
if retcode != "200":
|
if retcode != 200:
|
||||||
output = {
|
output = {
|
||||||
"message": "Did not find a 'default_ova' provisioning script. Please add one with that name, either the example from '/usr/share/pvc/provisioner/examples/script/2-ova.py' or a custom one, before uploading OVAs."
|
"message": "Did not find a 'default_ova' provisioning script. Please add one with that name, either the example from '/usr/share/pvc/provisioner/examples/script/2-ova.py' or a custom one, before uploading OVAs."
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue