Merge pull request #13141 from mmorel-35/patch-1

tsdb/errors: fix errorlint linter
pull/13159/head
Julien Pivotto 1 year ago committed by GitHub
commit 58eca19ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,7 +38,8 @@ func (es *multiError) Add(errs ...error) {
if err == nil {
continue
}
if merr, ok := err.(nonNilMultiError); ok {
var merr nonNilMultiError
if errors.As(err, &merr) {
*es = append(*es, merr.errs...)
continue
}

Loading…
Cancel
Save