fix formating in grafana request to String()

This commit is contained in:
Martin/Geno 2019-02-13 14:03:01 +01:00
parent 5d57274202
commit 4de3c091fe
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ type requestBody struct {
func (r requestBody) String() string {
msg := fmt.Sprintf("%s: %s", r.Title, r.Message)
for _, e := range r.EvalMatches {
msg = fmt.Sprintf("%s %s=%d", msg, e.Metric, e.Value)
msg = fmt.Sprintf("%s %s=%f", msg, e.Metric, e.Value)
}
return msg
}