Fix no pivot and keyring opts

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2019-03-06 12:37:36 -05:00
parent bfbd1d09c9
commit 160737d2c8
5 changed files with 53 additions and 23 deletions

View File

@@ -485,7 +485,7 @@ func TestCRWithImagePath(t *testing.T) {
}
defer ncontainer.Delete(ctx, WithSnapshotCleanup)
ntask, err := ncontainer.NewTask(ctx, empty(), WithRestoreImagePath(client.runtime, imagePath))
ntask, err := ncontainer.NewTask(ctx, empty(), WithRestoreImagePath(imagePath))
if err != nil {
t.Fatal(err)
}