Skip to content

Conversation

@caberos
Copy link
Contributor

@caberos caberos commented Nov 12, 2020

Copy link
Member

@allmightyspiff allmightyspiff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remove the lines instead of commenting them out.
Thanks.

@click.option('--template', '-t', default=None,
help="A json string describing https://softlayer.github.io/reference/datatypes/SoftLayer_User_Customer/")
@click.option('--api-key', '-a', default=False, is_flag=True, help="Create an API key for this user.")
# @click.option('--api-key', '-a', default=False, is_flag=True, help="Create an API key for this user.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remove this line

if api_key:
click.secho("Adding API key...", fg='green')
new_api_key = mgr.add_api_authentication_key(result['id'])
# new_api_key = None
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove these, instead of commenting them out.

@allmightyspiff
Copy link
Member

Regarding the analysis errors, I created #1378 to address that since that isn't part of your change specifically.

@allmightyspiff allmightyspiff linked an issue Nov 12, 2020 that may be closed by this pull request
@allmightyspiff allmightyspiff merged commit 7b65e9c into softlayer:master Nov 16, 2020
@allmightyspiff allmightyspiff mentioned this pull request Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the -a option from slcli user create

2 participants