Fix another instance of selector name

This commit is contained in:
Joshua Boniface 2019-12-26 18:55:01 -05:00
parent f178436025
commit 89f598e429
1 changed files with 2 additions and 2 deletions

View File

@ -1056,7 +1056,7 @@ class API_VM_Metadata(Resource):
@RequestParser([ @RequestParser([
{ 'name': 'limit' }, { 'name': 'limit' },
{ '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': 'autostart' },
]) ])
@Authenticator @Authenticator
@ -1079,7 +1079,7 @@ class API_VM_Metadata(Resource):
description: The selector used to determine candidate nodes during migration description: The selector used to determine candidate nodes during migration
enum: enum:
- mem - mem
- vcpu - vcpus
- load - load
- vms - vms
- in: query - in: query