Fix bug in function argument order

This commit is contained in:
Joshua Boniface 2020-01-04 11:43:35 -05:00
parent 19ea01e17e
commit 139672d8c9
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ def create_template_storage(name):
close_database(conn, cur)
return retmsg, retcode
def create_template_storage_element(name, pool, disk_id, disk_size_gb, filesystem=None, filesystem_args=[], mountpoint=None):
def create_template_storage_element(name, disk_id, pool, disk_size_gb, filesystem=None, filesystem_args=[], mountpoint=None):
if not list_template_storage(name, is_fuzzy=False):
retmsg = { 'message': 'The storage template "{}" does not exist'.format(name) }
retcode = 400