mirror of
https://github.com/containers/podman.git
synced 2025-10-20 20:54:45 +08:00
run modernize -fix ./...
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>
This commit is contained in:
@ -115,7 +115,7 @@ func AddPrivilegedDevices(g *generate.Generator, systemdMode bool) error {
|
||||
}
|
||||
|
||||
if rootless.IsRootless() {
|
||||
mounts := make(map[string]interface{})
|
||||
mounts := make(map[string]any)
|
||||
for _, m := range g.Mounts() {
|
||||
mounts[m.Destination] = true
|
||||
}
|
||||
|
Reference in New Issue
Block a user