Skip to content

Commit

Permalink
Azure: fix building final url from endpoint object
Browse files Browse the repository at this point in the history
  • Loading branch information
danipozo committed Apr 22, 2024
1 parent 7525b2a commit c75574a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ struct AzureBlobStorageEndpoint
String getEndpoint()
{
String url = storage_account_url;
if (url.ends_with('/'))
url = url.substr(0, url.size() - 1);

if (!account_name.empty())
url += "/" + account_name;
Expand Down

0 comments on commit c75574a

Please sign in to comment.