mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #18331 from runcom/fix-typo
daemon: daemon_experimental.go: fix typo
This commit is contained in:
commit
c6a2bce919
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…
Reference in a new issue