checkpoint: add copts to checkpoint; save snapshotter to annotation

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett
2018-09-25 15:05:37 +00:00
parent 40caece8dc
commit 6f2f4e4343
6 changed files with 55 additions and 46 deletions

View File

@@ -128,7 +128,6 @@ func TestCheckpointRestorePTY(t *testing.T) {
if container, err = client.Restore(ctx, id, checkpoint, []RestoreOpts{
WithRestoreImage,
WithRestoreSpec,
WithRestoreSnapshot,
WithRestoreRuntime,
WithRestoreRW,
}...); err != nil {
@@ -227,7 +226,6 @@ func TestCheckpointRestore(t *testing.T) {
if container, err = client.Restore(ctx, id, checkpoint, []RestoreOpts{
WithRestoreImage,
WithRestoreSpec,
WithRestoreSnapshot,
WithRestoreRuntime,
WithRestoreRW,
}...); err != nil {
@@ -315,7 +313,6 @@ func TestCheckpointRestoreNewContainer(t *testing.T) {
if container, err = client.Restore(ctx, id, checkpoint, []RestoreOpts{
WithRestoreImage,
WithRestoreSpec,
WithRestoreSnapshot,
WithRestoreRuntime,
WithRestoreRW,
}...); err != nil {