Adjust help message text

This commit is contained in:
Joshua Boniface 2022-10-21 14:22:15 -04:00
parent bd2208e8f6
commit ef437c3dbf
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ def upload_ova(zkhandler, pool, name, ova_size):
_, 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 an 'ova' or 'default_ova' provisioning script. Please add one with one of those names, either the example from '/usr/share/pvc/provisioner/examples/script/2-ova.py' or a custom one, before uploading OVAs."
} }
retcode = 400 retcode = 400
return output, retcode return output, retcode