Skip to content

Commit

Permalink
change to debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviassss committed Feb 8, 2024
1 parent 521124e commit 92fbcb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/deploy/elbv2/tagging_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,15 @@ func (m *defaultTaggingManager) ListListenerRules(ctx context.Context, lsARN str
// TODO: we can refactor this by store provisioned LB's ARN as annotations on Ingress/Service, thus avoid this heavy lookup calls when RGT is not available.
func (m *defaultTaggingManager) ListLoadBalancers(ctx context.Context, tagFilters ...tracking.TagFilter) ([]LoadBalancerWithTags, error) {
if m.featureGates.Enabled(config.EnableRGTAPI) {
m.logger.Info("ResourceGroupTagging enabled, list the load balancers via RGT API")
m.logger.V(2).Info("ResourceGroupTagging enabled, list the load balancers via RGT API")
return m.listLoadBalancersRGT(ctx, tagFilters)
}
return m.listLoadBalancersNative(ctx, tagFilters)
}

func (m *defaultTaggingManager) ListTargetGroups(ctx context.Context, tagFilters ...tracking.TagFilter) ([]TargetGroupWithTags, error) {
if m.featureGates.Enabled(config.EnableRGTAPI) {
m.logger.Info("ResourceGroupTagging enabled, list the target groups via RGT API")
m.logger.V(2).Info("ResourceGroupTagging enabled, list the target groups via RGT API")
return m.listTargetGroupsRGT(ctx, tagFilters)
}
return m.listTargetGroupsNative(ctx, tagFilters)
Expand Down

0 comments on commit 92fbcb6

Please sign in to comment.