mirror of
https://github.com/containers/podman
synced 2024-10-18 08:13:32 +00:00
7dc288dbed
Currently, when Podman restores a container into a Pod, it always fails with the following error: Error: cannot add container f96670b26e53e70f7f451191ea39a093c940c6c48b47218aeeef1396cb860042 to pod h2-pod: no such pod This error occurs because r.state.Pod() is called in setupContainer() with the Pod name instead of ID. This patch fixes this problem by setting ctrConfig.Pod to pod.ID(). Reported-by: Stanislav Kosorin <stanokosorin4@gmail.com> Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org> |
||
---|---|---|
.. | ||
crutils | ||
checkpoint_restore.go |