Pass remaining required args to vm_define

This commit is contained in:
2019-12-19 11:53:24 -05:00
parent 78089afb4e
commit 796fa4692f
2 changed files with 3 additions and 3 deletions

View File

@ -296,7 +296,7 @@ def api_vm_root():
else:
autostart = False
return api_helper.vm_define(libvirt_xml, node, selector)
return api_helper.vm_define(libvirt_xml, node, limit, selector, autostart)
@api.route('/api/v1/vm/<vm>', methods=['GET', 'POST', 'PUT', 'DELETE'])
@authenticator