summaryrefslogtreecommitdiff
path: root/libpod/container_internal.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-04-23 15:55:35 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-04-23 15:57:34 -0400
commit995cd97c100f65e477585e705c71eb48a9ab3890 (patch)
tree10016f7fc3a773d0b8c2d11d96679c7cc00809ad /libpod/container_internal.go
parent802763c6042e1c9a812f4300c3c717630564c8bc (diff)
downloadpodman-995cd97c100f65e477585e705c71eb48a9ab3890.tar.gz
podman-995cd97c100f65e477585e705c71eb48a9ab3890.tar.bz2
podman-995cd97c100f65e477585e705c71eb48a9ab3890.zip
Fix SELinux functions names to not be repetitive
Since functions are now in an selinux subpackage, they should not start with SELinux Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r--libpod/container_internal.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index 4cb80a98b..3fcf687ec 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -435,12 +435,12 @@ func (c *Container) setupStorage(ctx context.Context) error {
processLabel := containerInfo.ProcessLabel
switch {
case c.ociRuntime.SupportsKVM():
- processLabel, err = selinux.SELinuxKVMLabel(processLabel)
+ processLabel, err = selinux.KVMLabel(processLabel)
if err != nil {
return err
}
case c.config.Systemd:
- processLabel, err = selinux.SELinuxInitLabel(processLabel)
+ processLabel, err = selinux.InitLabel(processLabel)
if err != nil {
return err
}