forked from TrueCloudLab/frostfs-node
[#1972] node: Fix errors comments in the Put service
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
d2cce62934
commit
f79386e538
1 changed files with 2 additions and 2 deletions
|
@ -34,9 +34,9 @@ type validatingTarget struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// ErrExceedingMaxSize is returned when chunk payload size is greater than the length declared in header.
|
// ErrExceedingMaxSize is returned when payload size is greater than the limit.
|
||||||
ErrExceedingMaxSize = errors.New("payload size is greater than the limit")
|
ErrExceedingMaxSize = errors.New("payload size is greater than the limit")
|
||||||
// ErrWrongPayloadSize is returned when payload size is greater than the limit.
|
// ErrWrongPayloadSize is returned when chunk payload size is greater than the length declared in header.
|
||||||
ErrWrongPayloadSize = errors.New("wrong payload size")
|
ErrWrongPayloadSize = errors.New("wrong payload size")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue