mirror of
https://github.com/containers/podman.git
synced 2025-11-28 17:18:58 +08:00
enable gofumpt formatter
Based on our discussion gofumpt won the vote so use that one via golangci-lint. https://github.com/containers/podman/discussions/27291 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -127,9 +127,11 @@ func assembleSystemdCgroupName(baseSlice, newSlice string) (string, string, erro
|
||||
return systemdPath, systemdPath, nil
|
||||
}
|
||||
|
||||
var lvpRelabel = label.Relabel
|
||||
var lvpInitLabels = label.InitLabels
|
||||
var lvpReleaseLabel = selinux.ReleaseLabel
|
||||
var (
|
||||
lvpRelabel = label.Relabel
|
||||
lvpInitLabels = label.InitLabels
|
||||
lvpReleaseLabel = selinux.ReleaseLabel
|
||||
)
|
||||
|
||||
// LabelVolumePath takes a mount path for a volume and gives it an
|
||||
// selinux label of either shared or not
|
||||
|
||||
Reference in New Issue
Block a user