diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-21 11:58:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 11:58:56 -0400 |
commit | cb09c26c6519c2fff8be7285d585672a9066f2da (patch) | |
tree | 4adfde8375b9a76d6942b612fe2bc75aae49124c /libpod/container_internal.go | |
parent | e47dda5d81772fcc1c2417062303681a72780bbd (diff) | |
parent | bbe1063a5ae681ad04a049518c6087421b919f2e (diff) | |
download | podman-cb09c26c6519c2fff8be7285d585672a9066f2da.tar.gz podman-cb09c26c6519c2fff8be7285d585672a9066f2da.tar.bz2 podman-cb09c26c6519c2fff8be7285d585672a9066f2da.zip |
Merge pull request #13505 from rst0git/checkpoint-image-1
Add support for checkpoint image
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r-- | libpod/container_internal.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index c7567a55e..b051b7f2d 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -132,6 +132,11 @@ func (c *Container) ControlSocketPath() string { return filepath.Join(c.bundlePath(), "ctl") } +// CheckpointVolumesPath returns the path to the directory containing the checkpointed volumes +func (c *Container) CheckpointVolumesPath() string { + return filepath.Join(c.bundlePath(), metadata.CheckpointVolumesDirectory) +} + // CheckpointPath returns the path to the directory containing the checkpoint func (c *Container) CheckpointPath() string { return filepath.Join(c.bundlePath(), metadata.CheckpointDirectory) |