mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-24 17:35:01 +01:00
endpoint.ListAbstractionsError: fix stack overflow in .Error()
fixes #320 refs #318
This commit is contained in:
parent
b83c026cdc
commit
0d4bfda2fb
@ -467,7 +467,7 @@ func (e ListAbstractionsErrors) Error() string {
|
||||
}
|
||||
msgs := make([]string, len(e))
|
||||
for i := range e {
|
||||
msgs[i] = e.Error()
|
||||
msgs[i] = e[i].Error()
|
||||
}
|
||||
return fmt.Sprintf("list endpoint abstractions: multiple errors:\n%s", strings.Join(msgs, "\n"))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user