File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/ResourceManager/Network/Commands.Network/NetworkInterface Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -207,18 +207,18 @@ private PSNetworkInterface CreateNetworkInterface()
207
207
208
208
if ( this . LoadBalancerBackendAddressPool != null )
209
209
{
210
+ this . LoadBalancerBackendAddressPoolId = new List < string > ( ) ;
210
211
foreach ( var bepool in this . LoadBalancerBackendAddressPool )
211
212
{
212
- this . LoadBalancerBackendAddressPoolId = new List < string > ( ) ;
213
213
this . LoadBalancerBackendAddressPoolId . Add ( bepool . Id ) ;
214
214
}
215
215
}
216
216
217
217
if ( this . LoadBalancerInboundNatRule != null )
218
218
{
219
+ this . LoadBalancerInboundNatRuleId = new List < string > ( ) ;
219
220
foreach ( var natRule in this . LoadBalancerInboundNatRule )
220
221
{
221
- this . LoadBalancerInboundNatRuleId = new List < string > ( ) ;
222
222
this . LoadBalancerInboundNatRuleId . Add ( natRule . Id ) ;
223
223
}
224
224
}
You can’t perform that action at this time.
0 commit comments