mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-12-22 17:00:45 +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