Skip to content

Commit

Permalink
chore: revert color tostring
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Nov 28, 2024
1 parent ef5f5f6 commit ec75133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit ec75133

Please sign in to comment.