From 5744605fc6af783783d0bdc7150e3e6c86e1ed39 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Mon, 1 Aug 2022 17:15:59 +0300 Subject: [PATCH] [#409] status: Support EACL_NOT_FOUND status code Signed-off-by: Pavel Karpy --- container/grpc/service_grpc.pb.go | Bin 17335 -> 17499 bytes container/status.go | 4 ++++ container/status_test.go | 1 + status/grpc/types.pb.go | Bin 21089 -> 21338 bytes 4 files changed, 5 insertions(+) diff --git a/container/grpc/service_grpc.pb.go b/container/grpc/service_grpc.pb.go index 182755c9f802ea7106d051ed91a52a90980c8bce..c8b78d781fa033053cbb40d8e7e20bab42287d82 100644 GIT binary patch delta 119 zcmdnq&Um|naYHk&f;AVXzP^I4f|i!6qq9%EpMOZan}4XEi)D!?w^9Jt# diff --git a/container/status.go b/container/status.go index 0535716..7f0edc0 100644 --- a/container/status.go +++ b/container/status.go @@ -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 ) diff --git a/container/status_test.go b/container/status_test.go index 0826d8a..c7d9c91 100644 --- a/container/status_test.go +++ b/container/status_test.go @@ -10,5 +10,6 @@ import ( func TestStatusCodes(t *testing.T) { statustest.TestCodes(t, container.LocalizeFailStatus, container.GlobalizeFail, container.StatusNotFound, 3072, + container.StatusEACLNotFound, 3073, ) } diff --git a/status/grpc/types.pb.go b/status/grpc/types.pb.go index 98af29a64a4d8dd52f649bb4df35865dc6c3a839..c18467c41f209f70f5e4eae184767312d9b8f484 100644 GIT binary patch delta 354 zcmaF3gz?rg#ti~eKAigc3ej3x#s=obT3WFRsgBM*3MGk2IjIVH`6UWz`K5U&dR&~& z`FSOYnR%&2@vcAx@qYdx@oxU1el7}d2?bjP!^w?&vXgbB0ysGhtrV0%DktYj1xa#( znFvivRtjKXxOuPCdvzvbi^=Pp?oal2VV|5~Ehu7Qs-s{~VPXg-jlpE{WCv$S4lYiE z3ez+lg~{0tI+J^yb(y$0C#zWLPJZcZge<2%*~`TUBv4TwGBeUq*nG#Wl^X!K1Y(f@ delta 252 zcmcb$jPc~+l8(24x1JVJOFg8L+FSJmfe85ze$vA291~*A2pax-gh;