Skip to content

Conversation

@caberos
Copy link
Contributor

@caberos caberos commented Sep 1, 2020

@allmightyspiff allmightyspiff added the Ordering Anything related to ordering label Sep 9, 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.

Thanks, changes look mostly great, just a few minor changes to make this command perform better.

If we can get this command to stop using Virtual_Guest::getCreateObjectOptions it will actually respond quickly, which will be nice.



@click.command(short_help="Get options to use for creating virtual servers.")
@click.option('--vsi-type', required=False, type=click.Choice(['TRANSIENT', 'SUSPEND']),
Copy link
Member

Choose a reason for hiding this comment

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

Add PUBLIC as a choice, and make it the default here, instead of in the cli command. Add show_default=True to the option.

@allmightyspiff allmightyspiff linked an issue Sep 10, 2020 that may be closed by this pull request
@allmightyspiff allmightyspiff merged commit e402215 into softlayer:master Sep 17, 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

Ordering Anything related to ordering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor "vs create-options"

2 participants