mirror of
https://github.com/containers/podman.git
synced 2026-08-07 04:43:04 -04:00
Use functions and defines from checkpointctl
No functional changes. [NO TESTS NEEDED] - only moving code around Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
3 files changed
+32
-69
No files matched your search
@@ -32,13 +32,13 @@ func CRImportCheckpoint(ctx context.Context, runtime *libpod.Runtime, restoreOpt
|
||||
options := &archive.TarOptions{
|
||||
// Here we only need the files config.dump and spec.dump
|
||||
ExcludePatterns: []string{
|
||||
"checkpoint",
|
||||
"artifacts",
|
||||
"ctr.log",
|
||||
"rootfs-diff.tar",
|
||||
"network.status",
|
||||
"deleted.files",
|
||||
"volumes",
|
||||
"ctr.log",
|
||||
"artifacts",
|
||||
metadata.RootFsDiffTar,
|
||||
metadata.DeletedFilesFile,
|
||||
metadata.NetworkStatusFile,
|
||||
metadata.CheckpointDirectory,
|
||||
},
|
||||
}
|
||||
dir, err := ioutil.TempDir("", "checkpoint")
|
||||
|
||||
Reference in new issue
Block a user