forked from TrueCloudLab/frostfs-node
[#1910] .golangci.yml: Add godot
linker
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
347912ea0b
commit
d772e35aba
54 changed files with 90 additions and 107 deletions
|
@ -33,9 +33,10 @@ type validatingTarget struct {
|
|||
writtenPayload uint64 // number of already written payload bytes
|
||||
}
|
||||
|
||||
// errors related to invalid payload size
|
||||
var (
|
||||
// ErrExceedingMaxSize is returned when chunk payload size is greater than the length declared in header.
|
||||
ErrExceedingMaxSize = errors.New("payload size is greater than the limit")
|
||||
// ErrWrongPayloadSize is returned when payload size is greater than the limit.
|
||||
ErrWrongPayloadSize = errors.New("wrong payload size")
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue