Skip to content

Commit

Permalink
fix: linter happiness
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrgm committed Jun 4, 2024
1 parent 5ecd42d commit f468cc4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions promcheck/report/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (b *Builder) DumpYAML() error {
if err != nil {
return err
}
fmt.Fprintf(b.writer, "%v\n", res)
_, _ = fmt.Fprintf(b.writer, "%v\n", res)
return nil
}

Expand All @@ -235,7 +235,7 @@ func (b *Builder) DumpJSON() error {
if err != nil {
return err
}
fmt.Fprintf(b.writer, "%v\n", res)
_, _ = fmt.Fprintf(b.writer, "%v\n", res)
return nil
}

Expand All @@ -246,7 +246,7 @@ func (b *Builder) DumpTree() error {
if err != nil {
return err
}
fmt.Fprintf(b.writer, "%v\n", res)
_, _ = fmt.Fprintf(b.writer, "%v\n", res)
return nil
}

Expand All @@ -259,3 +259,4 @@ func (b *Builder) DumpPrometheusMetrics() error {
}
return nil
}

0 comments on commit f468cc4

Please sign in to comment.