mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
daemon: daemon_experimental.go: fix typo
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
657085dfdb
commit
4c8088268c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ import (
|
||||||
|
|
||||||
func setupRemappedRoot(config *Config) ([]idtools.IDMap, []idtools.IDMap, error) {
|
func setupRemappedRoot(config *Config) ([]idtools.IDMap, []idtools.IDMap, error) {
|
||||||
if runtime.GOOS != "linux" && config.RemappedRoot != "" {
|
if runtime.GOOS != "linux" && config.RemappedRoot != "" {
|
||||||
return nil, nil, fmt.Errorf("User namespaces are not supported on Linux")
|
return nil, nil, fmt.Errorf("User namespaces are only supported on Linux")
|
||||||
}
|
}
|
||||||
|
|
||||||
// if the daemon was started with remapped root option, parse
|
// if the daemon was started with remapped root option, parse
|
||||||
|
|
Loading…
Add table
Reference in a new issue