mirror of
https://github.com/containers/podman.git
synced 2025-10-11 00:06:32 +08:00

Using golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize + some manual cleanup in libpod/lock/shm/shm_lock_test.go as it generated an unused variable + restored one removed comment Signed-off-by: Paul Holzinger <pholzing@redhat.com>
The code in this directory was copied from Kubernetes version 0.22.5:
- https://github.com/kubernetes/apimachinery/tree/v0.22.5
- https://github.com/kubernetes/api/tree/v0.22.5
The code is heavily modified by the Podman team (mostly removing unneeded code) to reduce the resulting binary size. The copyright belongs to the Kubernetes Authors and is licensed under Apache-2.0, also check the license headers in the files.