Skip to content

Commit 375b027

Browse files
committed
Fixes minor linter issue golangci-lint QF1011
1 parent 5001f5b commit 375b027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/utils/duration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ func splitValueAndUnit(timeStr string) (valueStr, unitStr string, err error) {
484484
}
485485

486486
// Find the first non-digit character in the string.
487-
var splitIndex int = -1
487+
var splitIndex = -1
488488
for i, r := range timeStr {
489489
if !unicode.IsDigit(r) {
490490
// If the first non-digit is a '.' or ',' it's a float, which we don't support.

0 commit comments

Comments
 (0)