diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-25 07:19:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 07:19:43 -0500 |
commit | 6d03146a8ccc8322d134dd41be7fc14721b8b55b (patch) | |
tree | ac62f674dc9bd799a6bea7e2f3f1eb0247564c69 /pkg | |
parent | 95db13d3428f901ed4c6b15e8187636a1ea01b12 (diff) | |
parent | 98739237eebad082b9374e8b6cfa41cada905ebb (diff) | |
download | podman-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
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/specgen/generate/security.go | 2 |
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 |