daemon/seccomp_linux.go: fix error-capitalization (golint)
@@ -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" {
