Skip to content

Commit

Permalink
Preserve endpoint (apache#369)
Browse files Browse the repository at this point in the history
Co-authored-by: Alvin Chen <[email protected]>
Co-authored-by: Eric Maynard <[email protected]>
  • Loading branch information
3 people authored Oct 14, 2024
1 parent 1ab7173 commit 816fb4a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ private static String translate(String path) {
scheme = scheme.replaceFirst(WASB_SCHEME, ABFS_SCHEME);
}
return String.format(
"%s://%s@%s.dfs.core.windows.net/%s",
"%s://%s@%s.%s/%s",
scheme,
azureLocation.getContainer(),
azureLocation.getStorageAccount(),
azureLocation.getEndpoint(),
azureLocation.getFilePath());
} else {
return path;
Expand Down

0 comments on commit 816fb4a

Please sign in to comment.