From 1cc6ec2c55a8033a965162fa247bebb552ff33b0 Mon Sep 17 00:00:00 2001 From: Kevin Zhao Date: Thu, 27 Aug 2020 20:41:26 +0800 Subject: [PATCH] do not upgrade config to backend storage in api/config Signed-off-by: Kevin Zhao --- rbd-target-api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbd-target-api.py b/rbd-target-api.py index d90f974..ad9eef5 100644 --- a/rbd-target-api.py +++ b/rbd-target-api.py @@ -503,7 +503,7 @@ def get_config(): """ if request.method == 'GET': - config.refresh() + config.get_config() decrypt_passwords = request.args.get('decrypt_passwords', 'false') result_config = copy.deepcopy(config.config)