mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-23 16:57:51 +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> |
||
|---|---|---|
| .. | ||
| command.go | ||
| command_unix.go | ||
| command_windows.go | ||
| qemu_command_test.go | ||