fix(pkg): fix type issue for rps* constants in perfdata

This commit is contained in:
Emmanuel BENOîT 2024-07-20 18:12:01 +02:00
parent 1a35167eab
commit 7c8c624b17
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg

View file

@ -70,12 +70,12 @@ func (r *Range) String() string {
type rangeParserState int type rangeParserState int
const ( const (
rpsInit = iota // Initial state rpsInit rangeParserState = iota // Initial state
rpsExpectStart // Expect the start of the range rpsExpectStart // Expect the start of the range
rpsInStart // Reading the start of the range rpsInStart // Reading the start of the range
rpsExpectColon // Expect the colon that separates the start and end rpsExpectColon // Expect the colon that separates the start and end
rpsExpectEnd // Expect the end of the range rpsExpectEnd // Expect the end of the range
rpsInEnd // Reading the end of the range rpsInEnd // Reading the end of the range
) )
// An error emitted by the range parser. // An error emitted by the range parser.