endpoint.ListAbstractionsError: fix stack overflow in .Error()

fixes #320
refs #318
This commit is contained in:
Christian Schwarz 2020-05-09 11:55:40 +02:00
parent 456dc7925b
commit c5b530669e

View File

@ -468,7 +468,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"))
}