Skip to content

Commit

Permalink
pkg/prometheus/promcfg_test.go: Fix go-linting
Browse files Browse the repository at this point in the history
  • Loading branch information
slashpai committed Sep 28, 2021
1 parent bd12b1a commit a0c4e4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/prometheus/promcfg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5889,6 +5889,10 @@ alerting:
nil,
)

if err != nil {
t.Fatal(err)
}

result := string(cfg)
if tc.expected != result {
t.Logf("\n%s", pretty.Compare(tc.expected, result))
Expand Down

0 comments on commit a0c4e4e

Please sign in to comment.