Skip to content

Commit 09bcf78

Browse files
authored
Fix ssh tunnel on windows (#3610)
## Changes We were using incorrect paths when uploading the releases to workspace. ## Why Because I always forget to properly test on windows! ## Tests Would really help, looking into quick integration tests now
1 parent a5b4999 commit 09bcf78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

experimental/ssh/internal/client/releases.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ func uploadReleases(ctx context.Context, workspaceFiler filer.Filer, getRelease
4242
for _, arch := range architectures {
4343
fileName := getReleaseName(arch, version)
4444
remoteSubFolder := strings.TrimSuffix(fileName, ".zip")
45-
remoteBinaryPath := filepath.Join(remoteSubFolder, "databricks")
46-
remoteArchivePath := filepath.Join(remoteSubFolder, "databricks.zip")
45+
remoteBinaryPath := filepath.ToSlash(filepath.Join(remoteSubFolder, "databricks"))
46+
remoteArchivePath := filepath.ToSlash(filepath.Join(remoteSubFolder, "databricks.zip"))
4747

4848
_, err := workspaceFiler.Stat(ctx, remoteBinaryPath)
4949
if err == nil {

0 commit comments

Comments
 (0)