mirror of
https://github.com/containers/podman.git
synced 2026-02-15 08:41:39 -05:00
These ones:
> cmd/winpath/main.go:148:2: directive `//nolint:prealloc` is unused for linter "prealloc" (nolintlint)
> //nolint:prealloc
> ^
> pkg/machine/hyperv/vsock/vsock.go:425:2: Consider preallocating allSocks (prealloc)
> allSocks := []*HVSockRegistryEntry{}
> ^
> pkg/machine/wsl/machine.go:464:2: Consider preallocating newArgs with capacity 4 + len(arg) (prealloc)
> newArgs := []string{"-u", "root", "-d", dist}
> ^
> pkg/machine/wsl/machine.go:471:2: Consider preallocating newArgs with capacity 4 + len(arg) (prealloc)
> newArgs := []string{"-u", "root", "-d", dist}
> ^
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>