summaryrefslogtreecommitdiff
path: root/daemon/exec_linux.go
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2019-08-09 12:33:15 +0200
committerSebastiaan van Stijn <github@gone.nl>2020-04-14 17:22:19 +0200
commit5d040cbd163a8c5b78ac7fa08bbd2d9df6b4790e (patch)
treeb982476ec7df27a112282b6983b431924587add0 /daemon/exec_linux.go
parenteeef12f46978c534db8c83f29719692e3d86e6ae (diff)
downloaddocker-5d040cbd163a8c5b78ac7fa08bbd2d9df6b4790e.tar.gz
daemon: fix capitalization of some functions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'daemon/exec_linux.go')
-rw-r--r--daemon/exec_linux.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/exec_linux.go b/daemon/exec_linux.go
index b9e38f7b08..d0a7b3895c 100644
--- a/daemon/exec_linux.go
+++ b/daemon/exec_linux.go
@@ -40,10 +40,10 @@ func (daemon *Daemon) execSetPlatformOpt(c *container.Container, ec *exec.Config
// profiles. Privileged configuration of the container is inherited
appArmorProfile = unconfinedAppArmorProfile
} else {
- appArmorProfile = defaultApparmorProfile
+ appArmorProfile = defaultAppArmorProfile
}
- if appArmorProfile == defaultApparmorProfile {
+ if appArmorProfile == defaultAppArmorProfile {
// Unattended upgrades and other fun services can unload AppArmor
// profiles inadvertently. Since we cannot store our profile in
// /etc/apparmor.d, nor can we practically add other ways of