mirror of https://github.com/containers/podman.git
pkg: fix shmsize error message
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
397dcc358a
commit
d98b6f4232
|
@ -54,7 +54,7 @@ func (s *SpecGenerator) Validate() error {
|
||||||
}
|
}
|
||||||
// shmsize conflicts with IPC namespace
|
// shmsize conflicts with IPC namespace
|
||||||
if s.ContainerStorageConfig.ShmSize != nil && !s.ContainerStorageConfig.IpcNS.IsPrivate() {
|
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")
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue