Skip to content

Commit

Permalink
Removed glog from target group manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn Kaplan committed Sep 27, 2023
1 parent 01f1097 commit 91aa2ce
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkg/deploy/lattice/target_group_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ import (
"context"
"errors"

"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/golang/glog"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/vpclattice"

"fmt"
Expand Down Expand Up @@ -306,9 +304,6 @@ func (s *defaultTargetGroupManager) List(ctx context.Context) ([]targetGroupOutp
}

tagsOutput, err := vpcLatticeSess.ListTagsForResourceWithContext(ctx, &tagsInput)

glog.V(6).Infof("tagsOutput %v, err: %v", tagsOutput, err)

if err != nil {
s.log.Debugf("Error listing tags for target group %s: %s", *tg.Arn, err)
// setting it to nil, so the caller knows there is tag resource associated to this target group
Expand Down

0 comments on commit 91aa2ce

Please sign in to comment.