Skip to content

fix file path when uploading to Azure Blob Storage#1423

Merged
ellakz merged 3 commits into
elementary-data:masterfrom
SamirS97:fix_azure_file_path
Feb 25, 2024
Merged

fix file path when uploading to Azure Blob Storage#1423
ellakz merged 3 commits into
elementary-data:masterfrom
SamirS97:fix_azure_file_path

Conversation

@SamirS97
Copy link
Copy Markdown

Hello Elementary team,

I encountered an issue while sending my report to Azure Blob Storage. I noticed that when providing the argument '--bucket-file-path' Elementary only keeps the filename and gets rid of the folders. For example: test/elementary/elementary_report.html becomes elementary_report.html.

I found out that we were using the basename method to only keep the base name.
I propose this simple modification to keep the full path provided by the user when sending the report to Azure. This issue might also be happening on GCS or S3, I haven't tested it on these platforms.

Thanks

Samir

@ellakz ellakz merged commit a41a4e0 into elementary-data:master Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants