Skip to content

Commit

Permalink
feat: correct test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss committed Oct 25, 2021
1 parent bb56c42 commit c248c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/collectors/rest/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func (r *Rest) PollData() (*matrix.Matrix, error) {
return nil, errors.New(errors.ERR_NO_INSTANCE, "no "+r.Object+" instances on cluster")
}

r.Logger.Debug().Msgf("extracted %s [%s] instances", numRecords.Str, r.Object)
r.Logger.Debug().Msgf("extracted %s [%s] instances", numRecords.String(), r.Object)

results[1].ForEach(func(key, instanceData gjson.Result) bool {
var (
Expand Down

0 comments on commit c248c44

Please sign in to comment.