mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-02 13:48:00 +00:00
Fix a few new issues reported by the linter update. There is no need to copy the capAdd/capDrop slice in the compat create endpoint as they are only read and not modified. For the other code preallocate the slices so we safe memory allocations. Signed-off-by: Paul Holzinger <pholzing@redhat.com> |
||
|---|---|---|
| .. | ||
| compat | ||
| grpc | ||
| libpod | ||
| swagger | ||
| types | ||
| utils | ||
| decoder.go | ||
| types.go | ||