mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-11-21 18:36:25 +00:00
validation: fix undefined: errors.InvalidArgumentD
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
parent
01eb1bddea
commit
e5a45801a1
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user