daemon: make supportsSeccomp a const
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
a33cf495f2
commit
717575b585
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
"github.com/docker/docker/container"
|
||||
)
|
||||
|
||||
var supportsSeccomp = false
|
||||
const supportsSeccomp = false
|
||||
|
||||
// WithSeccomp sets the seccomp profile
|
||||
func WithSeccomp(daemon *Daemon, c *container.Container) coci.SpecOpts {
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
var supportsSeccomp = true
|
||||
const supportsSeccomp = true
|
||||
|
||||
// WithSeccomp sets the seccomp profile
|
||||
func WithSeccomp(daemon *Daemon, c *container.Container) coci.SpecOpts {
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"github.com/docker/docker/container"
|
||||
)
|
||||
|
||||
var supportsSeccomp = false
|
||||
const supportsSeccomp = false
|
||||
|
||||
// WithSeccomp sets the seccomp profile
|
||||
func WithSeccomp(daemon *Daemon, c *container.Container) coci.SpecOpts {
|
||||
|
|
Loading…
Add table
Reference in a new issue