From ec75133fbae654cd0499668b844651636b4ee29c Mon Sep 17 00:00:00 2001 From: Moshe Immermam Date: Thu, 28 Nov 2024 08:33:47 +0200 Subject: [PATCH] chore: revert color tostring --- api/v1/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/interface.go b/api/v1/interface.go index faef6c06..b7d9f155 100644 --- a/api/v1/interface.go +++ b/api/v1/interface.go @@ -745,7 +745,7 @@ func (r ScrapeResult) String() string { s := fmt.Sprintf("%s/%s (%s)", r.ConfigClass, Ellipses(r.Name, 40), Ellipses(r.ID, 40)) if r.Health != models.HealthUnknown { - s += fmt.Sprintf(" %s", r.Health.ColorString()) + s += fmt.Sprintf(" %s", r.Health) } if r.Status != "" {