Skip to content

Commit 59f4da4

Browse files
BUGFIX: avoid impossible comparison (staticcheck/SA4003) (#4015)
Use of unsigned integer conflicts with assumptions of `stringer` generated code. --------- Co-authored-by: Tom Limoncelli <[email protected]>
1 parent b346a4c commit 59f4da4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/providers/capabilities.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// Capability is a bitmasked set of "features" that a provider supports. Only use constants from this package.
10-
type Capability uint32
10+
type Capability int
1111

1212
const (
1313
// Keep this list sorted.

0 commit comments

Comments
 (0)