Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

chore: pkg import only once #574

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"github.com/Shopify/kubeaudit/auditors/image"
"github.com/Shopify/kubeaudit/config"

"github.com/sirupsen/logrus"
log "github.com/sirupsen/logrus"
)

Expand Down Expand Up @@ -222,5 +221,5 @@ func Example_printOptions() {
report.PrintResults(kubeaudit.WithMinSeverity(kubeaudit.Error))

// Print results as JSON
report.PrintResults(kubeaudit.WithFormatter(&logrus.JSONFormatter{}))
report.PrintResults(kubeaudit.WithFormatter(&log.JSONFormatter{}))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

}
Loading