mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Minor changes to fix lint errors
This commit is contained in:
parent
128f9ad42d
commit
81ec43a923
11 changed files with 90 additions and 78 deletions
|
|
@ -11,8 +11,8 @@ import "fmt"
|
|||
func FormatErrorList(errList []error) error {
|
||||
var err error
|
||||
for i, e := range errList {
|
||||
// NOTE: for multi-error formating, we want to include \n here
|
||||
err = fmt.Errorf("\t[%d] %v\n", i, e)
|
||||
i += 1
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue