Skip to content

Commit 2d8cbe7

Browse files
authored
BUG FIX: fix log message when target group and cluster are in different VPCs (#3924)
* BUG FIX: fix log message when target group and cluster are in different vpcs * bump go version
1 parent e96c227 commit 2d8cbe7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.7
1+
1.22.8

pkg/targetgroupbinding/resource_manager.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,8 @@ func (m *defaultResourceManager) registerPodEndpoints(ctx context.Context, tgARN
540540
// Target group is in a different VPC from the cluster's VPC
541541
if tgVpcID != "" && tgVpcID != m.vpcID {
542542
vpcID = tgVpcID
543-
m.logger.Info("registering endpoints using the targetGroup's vpcID", tgVpcID,
544-
"which is different from the cluster's vpcID", m.vpcID)
543+
m.logger.Info("registering endpoints using the targetGroup's vpcID", "TG VPC", tgVpcID,
544+
"cluster's vpcID", m.vpcID)
545545
}
546546
vpcInfo, err := m.vpcInfoProvider.FetchVPCInfo(ctx, vpcID)
547547
if err != nil {

0 commit comments

Comments
 (0)