Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Manik Rana <[email protected]>
  • Loading branch information
Maniktherana committed Oct 9, 2024
1 parent fb31f0e commit a8829ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/textparse/openmetricsparse.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func (p *OpenMetricsParser) CreatedTimestamp() *int64 {
buf []byte
currName []byte
)
if len(p.series)>1 && p.series[0] == '{' && p.series[1] == '"' {
if len(p.series) > 1 && p.series[0] == '{' && p.series[1] == '"' {
// special case for UTF-8 encoded metric family names.
currName = p.series[p.offsets[0]-p.start : p.mfNameLen+2]
} else {
Expand Down

0 comments on commit a8829ce

Please sign in to comment.