From 139672d8c978181fa93e72644a3f9afccdc65f4d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 4 Jan 2020 11:43:35 -0500 Subject: [PATCH] Fix bug in function argument order --- client-api/api_lib/pvcapi_provisioner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-api/api_lib/pvcapi_provisioner.py b/client-api/api_lib/pvcapi_provisioner.py index e6066023..f7aad3b2 100755 --- a/client-api/api_lib/pvcapi_provisioner.py +++ b/client-api/api_lib/pvcapi_provisioner.py @@ -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