Skip to content

Commit bd12f90

Browse files
committed
Make lint happy
Signed-off-by: Goutham Veeramachaneni <[email protected]>
1 parent 6b350fe commit bd12f90

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/alertmanager/multitenant.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ func (am *MultitenantAlertmanager) ServeHTTP(w http.ResponseWriter, req *http.Re
481481
am.alertmanagersMtx.Unlock()
482482

483483
if !ok || !userAM.IsActive() {
484-
http.Error(w, fmt.Sprintf("no Alertmanager for this user ID"), http.StatusNotFound)
484+
http.Error(w, "no Alertmanager for this user ID", http.StatusNotFound)
485485
return
486486
}
487487
userAM.mux.ServeHTTP(w, req)

tools/query-audit/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@ func Run(conf Config) error {
7171
return err
7272
}
7373

74-
fmt.Println(fmt.Sprintf(
75-
"\n%f%% avg diff for:\n\tquery: %s\n\tseries: %d\n\tsamples: %d\n\tstart: %v\n\tend: %v\n\tstep: %v",
74+
fmt.Sprintf(
75+
"\n%f%% avg diff for:\n\tquery: %s\n\tseries: %d\n\tsamples: %d\n\tstart: %v\n\tend: %v\n\tstep: %v\n",
7676
diff.Diff*100,
7777
query.Query,
7878
diff.Series,
7979
len(diff.sampleDiffs),
8080
query.Start,
8181
query.End,
8282
query.StepSize,
83-
))
83+
)
8484

8585
}
8686
return nil

0 commit comments

Comments
 (0)