diff --git a/client-api/pvc-api.py b/client-api/pvc-api.py index abbb7f4a..80a597c2 100755 --- a/client-api/pvc-api.py +++ b/client-api/pvc-api.py @@ -873,7 +873,7 @@ class API_VM_Element(Resource): @RequestParser([ { 'name': 'limit' }, { 'name': 'node' }, - { 'name': 'selector', 'choices': ('mem', 'vcpu', 'load', 'vms'), 'helptext': "A valid selector must be specified" }, + { 'name': 'selector', 'choices': ('mem', 'vcpus', 'load', 'vms'), 'helptext': "A valid selector must be specified" }, { 'name': 'autostart' }, { 'name': 'xml', 'required': True, 'helptext': "A Libvirt XML document must be specified" }, ]) @@ -910,7 +910,7 @@ class API_VM_Element(Resource): default: mem enum: - mem - - vcpu + - vcpus - load - vms - in: query