Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource name value completion (for VM commands right now) and VM size value completion #389

Merged
merged 2 commits into from
Jun 10, 2016
Merged

Resource name value completion (for VM commands right now) and VM size value completion #389

merged 2 commits into from
Jun 10, 2016

Conversation

derekbekoe
Copy link
Member

No description provided.

@derekbekoe
Copy link
Member Author

result = get_subscription_locations()
if result:
return next((r.name for r in result if r.name.lower() == 'westus'), result[0].name)
else:
Copy link
Member

Choose a reason for hiding this comment

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

I would remove the "can't happen code" since it doesn't really help us (or the user) diagnose or correct the error...

@yugangw-msft
Copy link
Contributor

:shipit:

1 similar comment
@BurtBiel
Copy link
Contributor

:shipit:

@johanste johanste merged commit dfdbd5f into Azure:master Jun 10, 2016
@derekbekoe derekbekoe deleted the completer-improvements-2 branch June 10, 2016 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants