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
d7c7f3689c
commit
f993106e49
@ -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