Skip to content

Commit

Permalink
Merge pull request #60 from anchore/warn-log-no-details
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyjones authored Aug 21, 2023
2 parents 44023bc + 5e04414 commit 6f0c7f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var rootCmd = &cobra.Command{
log.Info("Successfully validated connection to Anchore")
}
} else {
log.Debug("Anchore details not specified, will not report inventory")
log.Warn("Anchore details not specified, will not report inventory")
}

pkg.PeriodicallyGetInventoryReport(
Expand Down
2 changes: 1 addition & 1 deletion pkg/inventory/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func HandleReport(report reporter.Report, anchoreDetails connection.AnchoreInfo,
return fmt.Errorf("unable to report Inventory to Anchore: %w", err)
}
default:
logger.Log.Debug("Anchore details not specified, not reporting inventory")
logger.Log.Warn("Anchore details not specified, not reporting inventory")
}

if !quiet {
Expand Down

0 comments on commit 6f0c7f6

Please sign in to comment.