Skip to content

Commit

Permalink
do not upgrade config to backend storage in api/config
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
  • Loading branch information
kevinzs2048 committed Aug 27, 2020
1 parent c200f6f commit 1cc6ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rbd-target-api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1cc6ec2

Please sign in to comment.