From f3173392eea325ec7bfcdf767e0b524545b3f4b7 Mon Sep 17 00:00:00 2001 From: Samuel Laferriere Date: Tue, 29 Oct 2024 23:54:22 +0000 Subject: [PATCH] lint: nolint exhaustive switch check for Put case --- store/generated_key/eigenda/eigenda.go | 1 + 1 file changed, 1 insertion(+) diff --git a/store/generated_key/eigenda/eigenda.go b/store/generated_key/eigenda/eigenda.go index 9d57f951..f0db5375 100644 --- a/store/generated_key/eigenda/eigenda.go +++ b/store/generated_key/eigenda/eigenda.go @@ -89,6 +89,7 @@ func (e Store) Put(ctx context.Context, value []byte) ([]byte, error) { // api.ErrorFailover is returned, so we should retry return true } + //nolint:exhaustive // we only care about a few grpc error codes switch st.Code() { case codes.InvalidArgument: // we don't retry 400 errors because there is no point,