Skip to content

Commit 73a7247

Browse files
committed
Fix basic test temp file creation bug
Signed-off-by: Willem Pienaar <[email protected]>
1 parent a31545b commit 73a7247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/python/feast/loaders/file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def export_source_to_staging_location(
9292
get_staging_client(uri.scheme).upload_fileobj(
9393
f,
9494
source_path,
95-
remote_uri=uri._replace(path=str(uri.path).strip("/") + "/" + file_name),
95+
remote_uri=uri._replace(path=str(uri.path).rstrip("/") + "/" + file_name),
9696
)
9797

9898
# Clean up, remove local staging file

0 commit comments

Comments
 (0)