diff options
Diffstat (limited to 'libpod/in_memory_state.go')
-rw-r--r-- | libpod/in_memory_state.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/in_memory_state.go b/libpod/in_memory_state.go index 8aa2360ba..c99a34e7a 100644 --- a/libpod/in_memory_state.go +++ b/libpod/in_memory_state.go @@ -481,10 +481,10 @@ func (s *InMemoryState) RemovePodContainers(pod *Pod) error { // state func (s *InMemoryState) AddContainerToPod(pod *Pod, ctr *Container) error { if !pod.valid { - return errors.Wrapf(ErrPodRemoved, "pod %s is not valid and cannot be added to", pod.ID()) + return errors.Wrapf(ErrPodRemoved, "pod %s is not valid", pod.ID()) } if !ctr.valid { - return errors.Wrapf(ErrCtrRemoved, "container %s is not valid and cannot be added to the pod", ctr.ID()) + return errors.Wrapf(ErrCtrRemoved, "container %s is not valid", ctr.ID()) } if ctr.config.Pod != pod.ID() { |