Skip to content

Commit

Permalink
chore: remove logging for trusted advisor
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Nov 5, 2024
1 parent 5cbf1c4 commit 6ad4dfb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scrapers/aws/trusted_advisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ func (aws Scraper) trustedAdvisor(ctx *AWSContext, config v1.AWS, results *v1.Sc
results.Errorf(err, "Failed to describe trusted advisor checks")
return
}
for _, check := range trustAdvidorChecksDescribeOutput.Checks {

for _, check := range trustAdvidorChecksDescribeOutput.Checks {
if config.Excludes(*check.Name) {
logger.Tracef("Skipping check %s", *check.Name)
continue
Expand Down Expand Up @@ -111,8 +111,6 @@ func (aws Scraper) trustedAdvisor(ctx *AWSContext, config v1.AWS, results *v1.Sc
if _analysis, err := utils.ToJSONMap(metadata); err != nil {
analysis.Analysis = _analysis
}

logger.Infof("%s %s %s %v", *check.Name, configType, id, metadata)
}
}
}
Expand Down

0 comments on commit 6ad4dfb

Please sign in to comment.