Ver Fonte

daemon/seccomp_linux.go: fix error-capitalization (golint)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn há 6 anos atrás
pai
commit
8695176d11
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      daemon/seccomp_linux.go

+ 2 - 2
daemon/seccomp_linux.go

@@ -28,9 +28,9 @@ func WithSeccomp(daemon *Daemon, c *container.Container) coci.SpecOpts {
 
 		if !daemon.seccompEnabled {
 			if c.SeccompProfile != "" && c.SeccompProfile != "unconfined" {
-				return fmt.Errorf("Seccomp is not enabled in your kernel, cannot run a custom seccomp profile.")
+				return fmt.Errorf("seccomp is not enabled in your kernel, cannot run a custom seccomp profile")
 			}
-			logrus.Warn("Seccomp is not enabled in your kernel, running container without default profile.")
+			logrus.Warn("seccomp is not enabled in your kernel, running container without default profile")
 			c.SeccompProfile = "unconfined"
 		}
 		if c.SeccompProfile == "unconfined" {