Prechádzať zdrojové kódy

Merge pull request #18331 from runcom/fix-typo

daemon: daemon_experimental.go: fix typo
Sebastiaan van Stijn 9 rokov pred
rodič
commit
c6a2bce919
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      daemon/daemon_experimental.go

+ 1 - 1
daemon/daemon_experimental.go

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