working commit

This commit is contained in:
2026-02-11 20:45:45 +02:00
parent 2e3dbe8f7c
commit d318f39f3c
15 changed files with 337 additions and 90 deletions
+1 -3
View File
@@ -12,7 +12,6 @@ package client
import (
"context"
"os"
"time"
"mstore/pkg/auxtool"
"mstore/pkg/auxutar"
@@ -23,9 +22,8 @@ import (
"github.com/google/go-containerregistry/pkg/v1/remote/transport"
)
func (cli *Client) PullImage(ctx context.Context, filepath, imagepath string, timeout time.Duration) error {
func (cli *Client) PullImage(ctx context.Context, filepath, imagepath string) error {
var err error
ctx, _ = context.WithTimeout(ctx, timeout)
imagepath, username, password, err := repackReference(imagepath)
if err != nil {