Skip to content

Get AzureSMProfile instance from provider singleton if base instance property has not been set. #1475

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

Merged
merged 1 commit into from
Dec 30, 2015

Conversation

jasonmitchell
Copy link
Contributor

Fixing NullReferenceException when WebsiteBaseCmdlet.WebsitesClient is called by GetDynamicParameters() in a cmdlet. Instance property has not been set at this point so an exception will occur.

Potentially fixes #398 - there may be a better fix.

@azuresdkci
Copy link

Can one of the admins verify this patch?

@azurecla
Copy link

Hi @jasonmitchell, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.

TTYL, AZPRBOT;

@markcowl
Copy link
Member

@azuresdkci add to whitelist

@markcowl
Copy link
Member

@azuresdkci retest this please

@markcowl
Copy link
Member

@naveedaz Can you take a look, please? Thanks, Navy

stankovski added a commit that referenced this pull request Dec 30, 2015
Get AzureSMProfile instance from provider singleton if base instance property has not been set.
@stankovski stankovski merged commit 77563da into Azure:dev Dec 30, 2015
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.

5 participants