Skip to content
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ linters:
- gofmt
- misspell
- errorlint
- errcheck

linters-settings:
errcheck:
Expand Down
2 changes: 1 addition & 1 deletion pkg/alertmanager/alertmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func (am *Alertmanager) ApplyConfig(userID string, conf *config.Config, rawCfg s
return notifier
})
if err != nil {
return nil
return err
}

muteTimes := make(map[string][]timeinterval.TimeInterval, len(conf.MuteTimeIntervals))
Expand Down
4 changes: 2 additions & 2 deletions pkg/mimirtool/commands/remote_read.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func (c *RemoteReadCommand) dump(k *kingpin.ParseContext) error {

timeseries, err := query(context.Background())
if err != nil {
return nil
return err
}

iterator := newTimeSeriesIterator(timeseries)
Expand Down Expand Up @@ -309,7 +309,7 @@ func (c *RemoteReadCommand) stats(k *kingpin.ParseContext) error {

timeseries, err := query(context.Background())
if err != nil {
return nil
return err
}

num := struct {
Expand Down