The slice `out.List` is created with a length of 0 but a capacity of `len(imgs)`. This causes the line below to panic as we try to index into the `out.List` slice instead of append to it. This patch resolves the issue by appending instead of indexing into the slice. Co-authored-by: Derek Parker <deparker@redhat.com> |
||
|---|---|---|
| .. | ||
| client.go | ||
| server.go | ||