Skip to content

Commit

Permalink
Merge pull request #2233 from CatherineF-dev/patch-3
Browse files Browse the repository at this point in the history
refactor: Clean up generator.go
  • Loading branch information
k8s-ci-robot authored Nov 8, 2023
2 parents 7b8ea90 + 60515bf commit 97a75c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/metric_generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ func (g *FamilyGenerator) generateHeader() string {
header.WriteString("# HELP ")
header.WriteString(g.Name)
header.WriteByte(' ')
// TODO(#1833): remove if-else after all metrics are attached with right
// StabilityLevel.
if g.StabilityLevel == basemetrics.STABLE {
header.WriteString(fmt.Sprintf("[%v] %v", g.StabilityLevel, g.Help))
} else {
Expand Down

0 comments on commit 97a75c0

Please sign in to comment.