@@ -336,7 +336,7 @@ func TestGetLoadBalancingRuleName(t *testing.T) {
336
336
}
337
337
}
338
338
339
- func TestgetFrontendIPConfigName (t * testing.T ) {
339
+ func TestGetFrontendIPConfigName (t * testing.T ) {
340
340
az := getTestCloud ()
341
341
az .PrimaryAvailabilitySetName = "primary"
342
342
@@ -369,14 +369,14 @@ func TestgetFrontendIPConfigName(t *testing.T) {
369
369
subnetName : "averylonnnngggnnnnnnnnnnnnnnnnnnnnnngggggggggggggggggggggggggggggggggggggsubet" ,
370
370
isInternal : true ,
371
371
useStandardLB : true ,
372
- expected : "a257b965551374ad2b091ef3f07043ad-averylonnnngggnnnnnnnnnnnnnnnnnnnnnngg " ,
372
+ expected : "a257b965551374ad2b091ef3f07043ad-averylonnnngggnnnnnnnnnnnnnnnnnnnnnnggggggggggg " ,
373
373
},
374
374
{
375
375
description : "internal basic lb should have subnet name on the frontend ip configuration name but truncated to 80 charactors" ,
376
376
subnetName : "averylonnnngggnnnnnnnnnnnnnnnnnnnnnngggggggggggggggggggggggggggggggggggggsubet" ,
377
377
isInternal : true ,
378
378
useStandardLB : false ,
379
- expected : "a257b965551374ad2b091ef3f07043ad-averylonnnngggnnnnnnnnnnnnnnnnnnnnnngg " ,
379
+ expected : "a257b965551374ad2b091ef3f07043ad-averylonnnngggnnnnnnnnnnnnnnnnnnnnnnggggggggggg " ,
380
380
},
381
381
{
382
382
description : "external standard lb should not have subnet name on the frontend ip configuration name" ,
@@ -403,7 +403,7 @@ func TestgetFrontendIPConfigName(t *testing.T) {
403
403
svc .Annotations [ServiceAnnotationLoadBalancerInternalSubnet ] = c .subnetName
404
404
svc .Annotations [ServiceAnnotationLoadBalancerInternal ] = strconv .FormatBool (c .isInternal )
405
405
406
- loadbalancerName := az .getFrontendIPConfigName (svc )
407
- assert .Equal (t , c .expected , loadbalancerName , c .description )
406
+ ipconfigName := az .getFrontendIPConfigName (svc )
407
+ assert .Equal (t , c .expected , ipconfigName , c .description )
408
408
}
409
409
}
0 commit comments