Skip to content

Commit

Permalink
Merge pull request #1994 from edsonarios/issue1992
Browse files Browse the repository at this point in the history
Fix misspelling
  • Loading branch information
allmightyspiff committed Jun 19, 2023
2 parents 5509391 + f34e9c3 commit 7a2792c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SoftLayer/CLI/config/setup.py
Expand Up @@ -76,16 +76,16 @@ def cli(env, auth):

elif auth == 'cloud_key':
username = 'apikey'
secret = env.getpass('Classic Infrastructue API Key', default=defaults['api_key'])
secret = env.getpass('Classic Infrastructure API Key', default=defaults['api_key'])
new_client = SoftLayer.Client(username=username, api_key=secret, endpoint_url=endpoint_url, timeout=timeout)
api_key = get_api_key(new_client, username, secret)

elif auth == 'sso':
username, api_key = sso_login(env)

else:
username = env.input('Classic Infrastructue Username', default=defaults['username'])
secret = env.getpass('Classic Infrastructue API Key', default=defaults['api_key'])
username = env.input('Classic Infrastructure Username', default=defaults['username'])
secret = env.getpass('Classic Infrastructure API Key', default=defaults['api_key'])
new_client = SoftLayer.Client(username=username, api_key=secret, endpoint_url=endpoint_url, timeout=timeout)
api_key = get_api_key(new_client, username, secret)

Expand Down

0 comments on commit 7a2792c

Please sign in to comment.