summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-25 07:19:43 -0500
committerGitHub <noreply@github.com>2022-01-25 07:19:43 -0500
commit6d03146a8ccc8322d134dd41be7fc14721b8b55b (patch)
treeac62f674dc9bd799a6bea7e2f3f1eb0247564c69
parent95db13d3428f901ed4c6b15e8187636a1ea01b12 (diff)
parent98739237eebad082b9374e8b6cfa41cada905ebb (diff)
downloadpodman-6d03146a8ccc8322d134dd41be7fc14721b8b55b.tar.gz
podman-6d03146a8ccc8322d134dd41be7fc14721b8b55b.tar.bz2
podman-6d03146a8ccc8322d134dd41be7fc14721b8b55b.zip
Merge pull request #12974 from kolyshkin/typo
pkg/specgen/generate/security: fix error message text
-rw-r--r--pkg/specgen/generate/security.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/generate/security.go b/pkg/specgen/generate/security.go
index 2eaf71897..9c6709905 100644
--- a/pkg/specgen/generate/security.go
+++ b/pkg/specgen/generate/security.go
@@ -246,7 +246,7 @@ func securityConfigureGenerator(s *specgen.SpecGenerator, g *generate.Generator,
// Ignore net sysctls if --net=host
if s.NetNS.IsHost() && strings.HasPrefix(sysctlKey, "net.") {
- return errors.Wrapf(define.ErrInvalidArg, "sysctl %s=%s can't be set since Host Namespace set to host", sysctlKey, sysctlVal)
+ return errors.Wrapf(define.ErrInvalidArg, "sysctl %s=%s can't be set since Network Namespace set to host", sysctlKey, sysctlVal)
}
// Ignore uts sysctls if --uts=host