Skip to content

Commit

Permalink
fix: ssh sync registry contents to target dir (#4123)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengxsong authored and sealos-ci-robot@sealos.io committed Oct 20, 2023
1 parent c8f7a9c commit 8f26424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/filesystem/registry/sync.go
Expand Up @@ -147,7 +147,7 @@ func getRegistryServeCommand(pathResolver constants.PathResolver, port string) s
}

func syncViaSSH(_ context.Context, s *impl, target string, localDir string) error {
return ssh.CopyDir(s.execer, target, localDir, s.pathResolver.RootFSPath(), nil)
return ssh.CopyDir(s.execer, target, localDir, s.pathResolver.RootFSRegistryPath(), nil)
}

func syncViaHTTP(ctx context.Context, target string, localDir string) error {
Expand Down

0 comments on commit 8f26424

Please sign in to comment.