Skip to content

Commit b3e537e

Browse files
authored
Fix error message for internet LB
When using an internet-facing, the error message shows the wrong tag. The correct tag is defined in line 383, variable key.
1 parent 37c15c6 commit b3e537e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/alb/lb/loadbalancer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ func (controller *defaultController) clusterSubnets(ctx context.Context, scheme
418418
"Additionally, there must be at least 2 subnets with unique availability zones as required by "+
419419
"ALBs. Either tag subnets to meet this requirement or use the subnets annotation on the "+
420420
"ingress resource to explicitly call out what subnets to use for ALB creation. The subnets "+
421-
"that did resolve were %v", aws.TagNameCluster, aws.TagNameSubnetInternalELB,
421+
"that did resolve were %v", aws.TagNameCluster, key,
422422
log.Prettify(out))
423423
}
424424

0 commit comments

Comments
 (0)