[#409] status: Support EACL_NOT_FOUND status code
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
cdce7edc39
commit
5744605fc6
4 changed files with 5 additions and 0 deletions
BIN
container/grpc/service_grpc.pb.go
generated
BIN
container/grpc/service_grpc.pb.go
generated
Binary file not shown.
|
@ -25,4 +25,8 @@ const (
|
|||
// StatusNotFound is a local status.Code value for
|
||||
// CONTAINER_NOT_FOUND container failure.
|
||||
StatusNotFound status.Code = iota
|
||||
|
||||
// StatusEACLNotFound is a local status.Code value for
|
||||
// EACL_NOT_FOUND failure.
|
||||
StatusEACLNotFound
|
||||
)
|
||||
|
|
|
@ -10,5 +10,6 @@ import (
|
|||
func TestStatusCodes(t *testing.T) {
|
||||
statustest.TestCodes(t, container.LocalizeFailStatus, container.GlobalizeFail,
|
||||
container.StatusNotFound, 3072,
|
||||
container.StatusEACLNotFound, 3073,
|
||||
)
|
||||
}
|
||||
|
|
BIN
status/grpc/types.pb.go
generated
BIN
status/grpc/types.pb.go
generated
Binary file not shown.
Loading…
Reference in a new issue