From e5a45801a188af6df5e863bbe68bcd3c33cbb04e Mon Sep 17 00:00:00 2001 From: Adphi Date: Wed, 4 May 2022 16:30:27 +0200 Subject: [PATCH] validation: fix undefined: errors.InvalidArgumentD Signed-off-by: Adphi --- interceptors/validation/validation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interceptors/validation/validation.go b/interceptors/validation/validation.go index 32aa53b..2895c71 100644 --- a/interceptors/validation/validation.go +++ b/interceptors/validation/validation.go @@ -52,7 +52,7 @@ func errToStatus(err error) error { } switch v := err.(type) { case validatorError: - return errors.InvalidArgumentD(err, validatorErrorToGrpc(v)) + return errors.InvalidArgumentd(err, validatorErrorToGrpc(v)) case validatorMultiError: var details []proto.Message for _, v := range v.AllErrors() {