Skip to content

Commit e5ee1b3

Browse files
s
1 parent 6774e5f commit e5ee1b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Compute/Compute/Strategies/ComputeRp/VirtualMachineScaleSetStrategy.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ string orchestrationMode
115115
new VirtualMachineScaleSetIPConfiguration
116116
{
117117
Name = name,
118-
LoadBalancerBackendAddressPools = new []
118+
LoadBalancerBackendAddressPools = new []
119119
{
120120
engine.GetReference(backendAdressPool)
121121
},
@@ -141,7 +141,7 @@ string orchestrationMode
141141
Rules = scaleInPolicy
142142
},
143143
DoNotRunExtensionsOnOverprovisionedVMs = doNotRunExtensionsOnOverprovisionedVMs ? true : (bool?)null,
144-
OrchestrationMode = (orchestrationMode == null) ? (OrchestrationMode?)null : (OrchestrationMode)Enum.Parse(typeof(OrchestrationMode), orchestrationMode, false)
144+
OrchestrationMode = (orchestrationMode == null) ? null : orchestrationMode
145145
});
146146
}
147147
}

0 commit comments

Comments
 (0)