fix ctr image export not found error
Signed-off-by: Jie Zhang <iamkadisi@163.com>
This commit is contained in:
@@ -21,8 +21,6 @@ import (
|
||||
"io"
|
||||
"runtime"
|
||||
"testing"
|
||||
|
||||
"github.com/containerd/containerd/images/oci"
|
||||
)
|
||||
|
||||
// TestOCIExport exports testImage as a tar stream
|
||||
@@ -44,7 +42,7 @@ func TestOCIExport(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
exportedStream, err := client.Export(ctx, &oci.V1Exporter{}, pulled.Target)
|
||||
exportedStream, err := client.Export(ctx, pulled.Target)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user