fix(pkg): fix type issue for rps*
constants in perfdata
This commit is contained in:
parent
1a35167eab
commit
7c8c624b17
1 changed files with 6 additions and 6 deletions
|
@ -70,12 +70,12 @@ func (r *Range) String() string {
|
|||
type rangeParserState int
|
||||
|
||||
const (
|
||||
rpsInit = iota // Initial state
|
||||
rpsExpectStart // Expect the start of the range
|
||||
rpsInStart // Reading the start of the range
|
||||
rpsExpectColon // Expect the colon that separates the start and end
|
||||
rpsExpectEnd // Expect the end of the range
|
||||
rpsInEnd // Reading the end of the range
|
||||
rpsInit rangeParserState = iota // Initial state
|
||||
rpsExpectStart // Expect the start of the range
|
||||
rpsInStart // Reading the start of the range
|
||||
rpsExpectColon // Expect the colon that separates the start and end
|
||||
rpsExpectEnd // Expect the end of the range
|
||||
rpsInEnd // Reading the end of the range
|
||||
)
|
||||
|
||||
// An error emitted by the range parser.
|
||||
|
|
Loading…
Reference in a new issue