Skip to content

Commit 540ca45

Browse files
authored
Merge pull request #2876 from hadusam/fix_typo_of_SubnetsClusterTagCheck
Fix typo of a comment in pkg/networking/subnet_resolver.go
2 parents d9482de + ed19a9f commit 540ca45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/networking/subnet_resolver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ type SubnetsResolver interface {
9999
// Discovery candidate includes all subnets within the clusterVPC. Additionally,
100100
// * for internet-facing Load Balancer, "kubernetes.io/role/elb" tag must be present.
101101
// * for internal Load Balancer, "kubernetes.io/role/internal-elb" tag must be present.
102-
// * if SubnetClusterTagCheck is enabled, subnets within the clusterVPC must contain no cluster tag at all
102+
// * if SubnetsClusterTagCheck is enabled, subnets within the clusterVPC must contain no cluster tag at all
103103
// or contain the "kubernetes.io/cluster/<cluster_name>" tag for the current cluster
104104
// If multiple subnets are found for specific AZ, one subnet is chosen based on the lexical order of subnetID.
105105
ResolveViaDiscovery(ctx context.Context, opts ...SubnetsResolveOption) ([]*ec2sdk.Subnet, error)

0 commit comments

Comments
 (0)