mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
fix logic in multiErrors Append func
This commit is contained in:
parent
191a5f1018
commit
5dea138a11
@ -71,8 +71,9 @@ func (e *multiErrors) Append(errs ...error) {
|
||||
}
|
||||
if errs, ok := err.(multiErrors); ok {
|
||||
*e = append(*e, errs...)
|
||||
} else {
|
||||
*e = append(*e, err)
|
||||
}
|
||||
*e = append(*e, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user