Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
betorvs committed Jun 8, 2021
1 parent 8d5ff02 commit 73f4687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usecase/alertmanager_usecase.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func requestAlertManager(command map[string]string, role, displayName string) st
r += fmt.Sprintf(" - %s: %s \n", k, v)
}
}
r += fmt.Sprintf(" Annotations: \n")
r += " Annotations: \n"
for k, v := range a.Annotations {
r += fmt.Sprintf(" - %s: %s \n", k, v)
}
Expand All @@ -115,7 +115,7 @@ func requestAlertManager(command map[string]string, role, displayName string) st
if err == nil {
for _, s := range silences {
r += fmt.Sprintf("Silence ID: %s , Created by: %s, State: %s \n - Comment: %s \n", *s.ID, *s.CreatedBy, *s.Status.State, *s.Comment)
r += fmt.Sprintf(" - Matchers:\n")
r += " - Matchers:\n"
for _, v := range s.Matchers {
r += fmt.Sprintf(" - %s : %s \n", *v.Name, *v.Value)
}
Expand Down

0 comments on commit 73f4687

Please sign in to comment.