From b5efb5997988d7be74a042781e7a8008bfcecab9 Mon Sep 17 00:00:00 2001 From: Jiahui <4543bxy@gmail.com> Date: Thu, 19 Oct 2023 21:52:05 +0800 Subject: [PATCH] fix sync image (#4119) --- pkg/filesystem/registry/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/filesystem/registry/sync.go b/pkg/filesystem/registry/sync.go index ce665adbb43..7c7f52cd358 100644 --- a/pkg/filesystem/registry/sync.go +++ b/pkg/filesystem/registry/sync.go @@ -150,7 +150,7 @@ func syncViaSSH(s *impl, targets []string) func(context.Context, string) error { for i := range targets { target := targets[i] eg.Go(func() error { - return ssh.CopyDir(s.ssh, target, localDir, s.pathResolver.RootFSPath(), constants.IsRegistryDir) + return ssh.CopyDir(s.ssh, target, localDir, s.pathResolver.RootFSPath(), nil) }) } return eg.Wait()