Skip to content

Commit

Permalink
fix: ssh sync registry contents to target dir
Browse files Browse the repository at this point in the history
  • Loading branch information
fengxsong authored Oct 20, 2023
1 parent 00726c6 commit 4b6b6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/filesystem/registry/sync.go
Original file line number Diff line number Diff line change
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 4b6b6cf

Please sign in to comment.