forked from TrueCloudLab/frostfs-api-go
[#27] util/proto: Fix staticcheck warning
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
2aa3ee46e7
commit
e9e7901f67
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ type stableRepPrimitives struct {
|
|||
|
||||
const (
|
||||
ENUM_UNKNOWN SomeEnum = 0
|
||||
ENUM_POSITIVE = 1
|
||||
ENUM_NEGATIVE = -1
|
||||
ENUM_POSITIVE SomeEnum = 1
|
||||
ENUM_NEGATIVE SomeEnum = -1
|
||||
)
|
||||
|
||||
func (s *stablePrimitives) stableMarshal(buf []byte, wrongField bool) ([]byte, error) {
|
||||
|
|
Loading…
Reference in a new issue