Skip to content

Commit 1cc6ec2

Browse files
committed
do not upgrade config to backend storage in api/config
Signed-off-by: Kevin Zhao <[email protected]>
1 parent c200f6f commit 1cc6ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rbd-target-api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def get_config():
503503
"""
504504

505505
if request.method == 'GET':
506-
config.refresh()
506+
config.get_config()
507507
decrypt_passwords = request.args.get('decrypt_passwords', 'false')
508508
result_config = copy.deepcopy(config.config)
509509

0 commit comments

Comments
 (0)