Skip to content

Commit

Permalink
fix(provider/azure): Default environment and accountType to accountNa…
Browse files Browse the repository at this point in the history
…me (#1593)
  • Loading branch information
ejizba authored and Matt Duftler committed Apr 28, 2017
1 parent 23fcf58 commit 0b084bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class AzureCredentialsInitializer {
try {
def azureAccount = new AzureNamedAccountCredentials(
managedAccount.name,
managedAccount.environment,
managedAccount.accountType,
managedAccount.environment ?: managedAccount.name,
managedAccount.accountType ?: managedAccount.name,
managedAccount.clientId,
managedAccount.appKey,
managedAccount.tenantId,
Expand Down

0 comments on commit 0b084bc

Please sign in to comment.