Skip to content

Commit 35d49f2

Browse files
committed
Fix formatting
1 parent 8e9558b commit 35d49f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/UpdateAzureVirtualNetworkGatewayCommand.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public override void Execute()
105105
throw new ArgumentException(Microsoft.Azure.Commands.Network.Properties.Resources.ResourceNotFound);
106106
}
107107

108-
if(this.EnableActiveActiveFeature.IsPresent && this.DisableActiveActiveFeature.IsPresent)
108+
if (this.EnableActiveActiveFeature.IsPresent && this.DisableActiveActiveFeature.IsPresent)
109109
{
110110
throw new ArgumentException("Both EnableActiveActiveFeature and DisableActiveActiveFeature Parameters can not be passed.");
111111
}
@@ -114,7 +114,7 @@ public override void Execute()
114114
{
115115
this.VirtualNetworkGateway.ActiveActive = true;
116116
}
117-
117+
118118
if (this.DisableActiveActiveFeature.IsPresent)
119119
{
120120
this.VirtualNetworkGateway.ActiveActive = false;
@@ -123,11 +123,11 @@ public override void Execute()
123123
if (this.VirtualNetworkGateway.ActiveActive)
124124
{
125125
bool activeActiveSkuCriteria = !string.IsNullOrEmpty(this.GatewaySku) ? !this.GatewaySku.Equals(MNM.VirtualNetworkGatewaySkuTier.HighPerformance) : !this.VirtualNetworkGateway.Sku.Tier.Equals(MNM.VirtualNetworkGatewaySkuTier.HighPerformance);
126-
127-
if(activeActiveSkuCriteria)
126+
127+
if (activeActiveSkuCriteria)
128128
{
129129
throw new ArgumentException("Virtual Network Gateway Sku should be " + MNM.VirtualNetworkGatewaySkuTier.HighPerformance + " when Active-Active feature flag is set to True.");
130-
}
130+
}
131131
}
132132

133133
if (!string.IsNullOrEmpty(GatewaySku))

0 commit comments

Comments
 (0)