Skip to content

Commit cf90b17

Browse files
revert unsignificant changes.
1 parent ae9a4bb commit cf90b17

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ResourceManager/Compute/Commands.Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public async Task<ResourceConfig<VirtualMachineScaleSet>> CreateConfigAsync()
208208
})
209209
.ToList();
210210

211-
var scaleSet = resourceGroup.CreateVirtualMachineScaleSetConfig(
211+
return resourceGroup.CreateVirtualMachineScaleSetConfig(
212212
name: _cmdlet.VMScaleSetName,
213213
subnet: subnet,
214214
frontendIpConfigurations: new[] { frontendIpConfiguration },
@@ -223,8 +223,6 @@ public async Task<ResourceConfig<VirtualMachineScaleSet>> CreateConfigAsync()
223223
? _cmdlet.UpgradePolicyMode
224224
: (UpgradeMode?)null,
225225
dataDisks: _cmdlet.DataDiskSizeInGb);
226-
227-
return scaleSet;
228226
}
229227
}
230228

0 commit comments

Comments
 (0)