working commit
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ func TestImageLife(t *testing.T) {
|
||||
fmt.Printf("=== PushImage ===\n")
|
||||
cli := client.NewClient()
|
||||
ctx, _ := context.WithTimeout(context.Background(), 1*time.Second)
|
||||
err := cli.PushImage(ctx, "test-oci.img", srvaddr+"/foo/test:123")
|
||||
err := cli.PushImage(ctx, "test-oci.tar", srvaddr+"/foo/test:123")
|
||||
require.NoError(t, err)
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user