pkg: fix shmsize error message

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano
2020-04-22 14:45:43 +02:00
parent 397dcc358a
commit d98b6f4232

View File

@ -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")
}
//