Skip to content

Commit

Permalink
style: fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss committed Nov 20, 2024
1 parent 0433bdc commit 0936c52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/exporters/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (p *Prometheus) Init() error {
}

if x := p.Params.GlobalPrefix; x != nil {
p.Logger.Debug("use gloabl prefix", slog.String("prefix", *x))
p.Logger.Debug("use global prefix", slog.String("prefix", *x))
p.globalPrefix = *x
if !strings.HasSuffix(p.globalPrefix, "_") {
p.globalPrefix += "_"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tools/grafana/dashboard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@ func TestLinks(t *testing.T) {

// Check if the dashboard exists
if _, ok := uids[matches[1]]; !ok {
t.Errorf(`dashboard=%s links to not existant dashboard with link="%s"`, path, link)
t.Errorf(`dashboard=%s links to not existent dashboard with link="%s"`, path, link)
}

query, err := url.ParseQuery(link)
Expand Down

0 comments on commit 0936c52

Please sign in to comment.