Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: Owen Williams <[email protected]>
  • Loading branch information
ywwg committed Oct 11, 2024
1 parent 4314dfe commit a1dc998
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion prometheus/desc.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ func (v2) NewDesc(fqName, help string, variableLabels ConstrainableLabels, const
}
d.id = xxh.Sum64()
d.escapedID = escapedXXH.Sum64()

// Sort labelNames so that order doesn't matter for the hash.
sort.Strings(labelNames)
// Now hash together (in this order) the help string and the sorted
Expand Down

0 comments on commit a1dc998

Please sign in to comment.