fix(az): add user to exposed model for pwsh

This commit is contained in:
Jan De Dobbeleer 2021-12-30 14:41:01 +01:00 committed by Jan De Dobbeleer
parent ad5c77a61b
commit 5549e0d7ad

View file

@ -144,5 +144,8 @@ func (a *az) getAzureRmContext() bool {
a.ID = defaultContext.Subscription.ID
a.Name = defaultContext.Subscription.Name
a.State = defaultContext.Subscription.State
a.User = &AzureUser{
Name: defaultContext.Subscription.ExtendedProperties.Account,
}
return true
}