Skip to content

Commit 402f74c

Browse files
committed
azure: Remove -ipconfig suffix for VMSS IP configuration
1 parent c95f297 commit 402f74c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

upup/pkg/fi/cloudup/azuretasks/vmscaleset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ func (s *VMScaleSet) RenderAzure(t *azure.AzureAPITarget, a, e, changes *VMScale
334334
EnableIPForwarding: to.Ptr(true),
335335
IPConfigurations: []*compute.VirtualMachineScaleSetIPConfiguration{
336336
{
337-
Name: to.Ptr(name + "-ipconfig"),
337+
Name: to.Ptr(name),
338338
Properties: ipConfigProperties,
339339
},
340340
},

upup/pkg/fi/cloudup/azuretasks/vmscaleset_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func TestVMScaleSetFind(t *testing.T) {
229229
EnableIPForwarding: to.Ptr(true),
230230
IPConfigurations: []*compute.VirtualMachineScaleSetIPConfiguration{
231231
{
232-
Name: to.Ptr("vmss-ipconfig"),
232+
Name: to.Ptr("vmss"),
233233
Properties: ipConfigProperties,
234234
},
235235
},

0 commit comments

Comments
 (0)