Skip to content

Commit

Permalink
Fix typo and provide the correct path for secret
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Jul 19, 2024
1 parent b8e1a30 commit 8033708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aws/config-server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@app.route('/getConfig', methods=['GET'])
def get_config():
try:
with open('/etc/secret/secret-value/app', 'r') as secret_file:
with open('/etc/secret/secret-value/config', 'r') as secret_file:
secret_value = secret_file.read().strip()
return secret_value
except Exception as e:
Expand Down

0 comments on commit 8033708

Please sign in to comment.