Skip to content

Commit

Permalink
fix the issue when CLI reads access key from cmd line
Browse files Browse the repository at this point in the history
  • Loading branch information
wjo1212 committed Jan 25, 2018
1 parent 7dcca3f commit c62d6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aliyunlogcli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def load_config(system_options):

# load config from command lines
access_id = system_options.get('access-id', access_id)
access_key = system_options.get('secure-key', access_key)
access_key = system_options.get('access-key', access_key)
endpoint = system_options.get('region-endpoint', endpoint)

assert access_id and access_key and endpoint, ValueError("Access id/key or endpoint is empty!")
Expand Down

0 comments on commit c62d6e4

Please sign in to comment.