Skip to content

Commit

Permalink
default location
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-shandar committed Nov 16, 2017
1 parent 254f7c1 commit 2f7d5e3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ public void StrategyExecuteCmdlet()
.GetAwaiter()
.GetResult();
var location = state.GetLocation(virtualMachine);
if (location == null)
{
location = "eastus";
}
var target = virtualMachine.GetTargetState(client.SubscriptionId, location);
var result = virtualMachine
.CreateOrUpdateAsync(client, state, target, new CancellationToken())
Expand Down

0 comments on commit 2f7d5e3

Please sign in to comment.