diff options
author | 2023-03-20 11:05:46 +0100 | |
---|---|---|
committer | 2023-03-20 11:05:46 +0100 | |
commit | 4096e7076a56d67c6926edc1b3acc5b9445af788 (patch) | |
tree | bdc2c17abd56561afd9ed79b8cc9679047bffd1d /vendor/github.com/go-playground/validator/v10/errors.go | |
parent | [bugfix] Use account ID host as accDomain if 2nd webfinger lookup fails (#1630) (diff) | |
download | gotosocial-4096e7076a56d67c6926edc1b3acc5b9445af788.tar.xz |
[chore]: Bump github.com/go-playground/validator/v10 (#1637)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.11.2 to 10.12.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.11.2...v10.12.0)
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/go-playground/validator/v10/errors.go')
-rw-r--r-- | vendor/github.com/go-playground/validator/v10/errors.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vendor/github.com/go-playground/validator/v10/errors.go b/vendor/github.com/go-playground/validator/v10/errors.go index 9a1b1abe9..5856d57c8 100644 --- a/vendor/github.com/go-playground/validator/v10/errors.go +++ b/vendor/github.com/go-playground/validator/v10/errors.go @@ -44,12 +44,9 @@ func (ve ValidationErrors) Error() string { buff := bytes.NewBufferString("") - var fe *fieldError - for i := 0; i < len(ve); i++ { - fe = ve[i].(*fieldError) - buff.WriteString(fe.Error()) + buff.WriteString(ve[i].Error()) buff.WriteString("\n") } |