Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <[email protected]>
  • Loading branch information
cody-littley committed Nov 25, 2024
1 parent 0217da7 commit b0fd072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/metrics/metrics_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ func (m *metrics) GenerateMetricsDocumentation() string {
sb.Write([]byte(fmt.Sprintf("| **Name** | `%s` |\n", metric.Name())))
sb.Write([]byte(fmt.Sprintf("| **Unit** | `%s` |\n", metric.Unit())))
if id.label == "" {
sb.Write([]byte(fmt.Sprintf("| **Label** | - |\n")))
sb.Write([]byte("| **Label** | - |\n"))
} else {
sb.Write([]byte(fmt.Sprintf("| **Label** | `%s` |\n", metric.Label())))
}
Expand Down

0 comments on commit b0fd072

Please sign in to comment.