aboutsummaryrefslogtreecommitdiff
path: root/pkg/adapter/containers_remote.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-19 02:38:26 +0200
committerGitHub <noreply@github.com>2019-07-19 02:38:26 +0200
commitdeb087d7b173832138c2e46ab4b7b626a98a910c (patch)
treea9d93d164fe83ba7229d17fd593639b7883fd8a2 /pkg/adapter/containers_remote.go
parentb59abdc1b1cf72d86d3fe6bb76ba646870c86ed6 (diff)
parentc70657a6d1fc15ba60d4bb0fc197f4c70fa59cac (diff)
downloadpodman-deb087d7b173832138c2e46ab4b7b626a98a910c.tar.gz
podman-deb087d7b173832138c2e46ab4b7b626a98a910c.tar.bz2
podman-deb087d7b173832138c2e46ab4b7b626a98a910c.zip
Merge pull request #3443 from adrianreber/rootfs-changes-migration
Include changes to the container's root file-system in the checkpoint archive
Diffstat (limited to 'pkg/adapter/containers_remote.go')
-rw-r--r--pkg/adapter/containers_remote.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/adapter/containers_remote.go b/pkg/adapter/containers_remote.go
index c816fd980..fc23381a4 100644
--- a/pkg/adapter/containers_remote.go
+++ b/pkg/adapter/containers_remote.go
@@ -669,6 +669,9 @@ func (r *LocalRuntime) Checkpoint(c *cliconfig.CheckpointValues) error {
if c.Export != "" {
return errors.New("the remote client does not support exporting checkpoints")
}
+ if c.IgnoreRootfs {
+ return errors.New("the remote client does not support --ignore-rootfs")
+ }
var lastError error
ids, err := iopodman.GetContainersByContext().Call(r.Conn, c.All, c.Latest, c.InputArgs)
@@ -709,6 +712,9 @@ func (r *LocalRuntime) Restore(ctx context.Context, c *cliconfig.RestoreValues)
if c.Import != "" {
return errors.New("the remote client does not support importing checkpoints")
}
+ if c.IgnoreRootfs {
+ return errors.New("the remote client does not support --ignore-rootfs")
+ }
var lastError error
ids, err := iopodman.GetContainersByContext().Call(r.Conn, c.All, c.Latest, c.InputArgs)