From 7c8c624b17ca1b35a9802bfd94a305b8ae78d16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20BENO=C3=8ET?= Date: Sat, 20 Jul 2024 18:12:01 +0200 Subject: [PATCH] fix(pkg): fix type issue for `rps*` constants in perfdata --- pkg/perfdata/range.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/perfdata/range.go b/pkg/perfdata/range.go index 82c5df9..4e3c00d 100644 --- a/pkg/perfdata/range.go +++ b/pkg/perfdata/range.go @@ -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.