mirror of
https://github.com/zrepl/zrepl.git
synced 2025-06-24 19:51:43 +02: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))
|
msgs := make([]string, len(e))
|
||||||
for i := range 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"))
|
return fmt.Sprintf("list endpoint abstractions: multiple errors:\n%s", strings.Join(msgs, "\n"))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user