Correct spelling of default.
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
This commit is contained in:
10
spec_unix.go
10
spec_unix.go
@@ -25,7 +25,7 @@ var (
|
||||
}
|
||||
)
|
||||
|
||||
func defaltCaps() []string {
|
||||
func defaultCaps() []string {
|
||||
return []string{
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
@@ -79,10 +79,10 @@ func createDefaultSpec() (*specs.Spec, error) {
|
||||
GID: 0,
|
||||
},
|
||||
Capabilities: &specs.LinuxCapabilities{
|
||||
Bounding: defaltCaps(),
|
||||
Permitted: defaltCaps(),
|
||||
Inheritable: defaltCaps(),
|
||||
Effective: defaltCaps(),
|
||||
Bounding: defaultCaps(),
|
||||
Permitted: defaultCaps(),
|
||||
Inheritable: defaultCaps(),
|
||||
Effective: defaultCaps(),
|
||||
},
|
||||
Rlimits: []specs.POSIXRlimit{
|
||||
{
|
||||
|
Reference in New Issue
Block a user