summaryrefslogtreecommitdiff
path: root/pkg/specgen/container_validate.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-04-22 14:45:43 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-04-23 18:05:01 +0200
commitd98b6f4232ba1ba7475e255fcfad65313bfe70c0 (patch)
treeb4c0b1f112e00b9694f58cd3d5b8dee58e226bef /pkg/specgen/container_validate.go
parent397dcc358a60eef1de22384c662480892a317ec4 (diff)
downloadpodman-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/specgen/container_validate.go')
-rw-r--r--pkg/specgen/container_validate.go2
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")
}
//