multierror update, fix output

This commit is contained in:
brent s. 2021-12-24 05:50:31 -05:00
parent 3f4db5e82c
commit 9d3299c9dc
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
package gosecret

import (
`fmt`
"fmt"
)

/*
@ -47,7 +47,7 @@ func (e *MultiError) Error() (errStr string) {

for idx, err := range e.Errors {
if (idx + 1) < numErrs {
errStr += fmt.Sprintf(err.Error(), e.ErrorSep)
errStr += fmt.Sprintf("%v%v", err.Error(), e.ErrorSep)
} else {
errStr += err.Error()
}