From 977bd2a4392d14a891346cd61fcd94100e2a7f34 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 7 Jan 2020 00:48:00 -0500 Subject: [PATCH] Fix return text of empty profile list --- 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 ebe908e7..129192f2 100755 --- a/client-api/api_lib/pvcapi_provisioner.py +++ b/client-api/api_lib/pvcapi_provisioner.py @@ -706,7 +706,7 @@ def list_profile(limit, is_fuzzy=True): if data: return data, 200 else: - return {'message': 'No scripts found'}, 404 + return {'message': 'No profiles found'}, 404 def create_profile(name, system_template, network_template, storage_template, userdata, script, arguments=None): if list_profile(name, is_fuzzy=False)[-1] != 404: