diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-04-22 14:45:43 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-04-23 18:05:01 +0200 |
commit | d98b6f4232ba1ba7475e255fcfad65313bfe70c0 (patch) | |
tree | b4c0b1f112e00b9694f58cd3d5b8dee58e226bef /pkg | |
parent | 397dcc358a60eef1de22384c662480892a317ec4 (diff) | |
download | podman-d98b6f4232ba1ba7475e255fcfad65313bfe70c0.tar.gz podman-d98b6f4232ba1ba7475e255fcfad65313bfe70c0.tar.bz2 podman-d98b6f4232ba1ba7475e255fcfad65313bfe70c0.zip |
pkg: fix shmsize error message
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/specgen/container_validate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/container_validate.go b/pkg/specgen/container_validate.go index df9c77cbc..219abfd9b 100644 --- a/pkg/specgen/container_validate.go +++ b/pkg/specgen/container_validate.go @@ -54,7 +54,7 @@ func (s *SpecGenerator) Validate() error { } // shmsize conflicts with IPC namespace if s.ContainerStorageConfig.ShmSize != nil && !s.ContainerStorageConfig.IpcNS.IsPrivate() { - return errors.New("cannot set shmsize when creating an IPC namespace") + return errors.New("cannot set shmsize when running in the host IPC Namespace") } // |