1
0
Fork 0
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:
Sebastiaan van Stijn 2015-12-01 15:48:10 +01:00
commit c6a2bce919

View file

@ -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