From 5ffdb8d19d63e610fc2bb6a886be530eb46a5978 Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Thu, 19 Oct 2023 22:20:23 +0800 Subject: [PATCH] :bug: set default http sync registry Signed-off-by: cuisongliu # Conflicts: # pkg/filesystem/registry/sync.go --- 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 7c7f52cd358..dc6357c4c6a 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(), nil) + return ssh.CopyDir(s.ssh, target, localDir, s.pathResolver.RootFSRegistryPath(), nil) }) } return eg.Wait()