Skip to content

Commit

Permalink
fix(azure): retrieve conatiner name via dash sep
Browse files Browse the repository at this point in the history
  • Loading branch information
mvantellingen committed Feb 11, 2025
1 parent c4815c3 commit 397cab9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changes/unreleased/Fixed-20250211-190445.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Fixed
body: Resolve container parsing on azure (use dash as separator)
time: 2025-02-11T19:04:45.468229+01:00
2 changes: 1 addition & 1 deletion internal/provider_azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func NewAzureBlobClient(ctx context.Context, bucket string) (*AzureBlobClient, e
log.Fatal(err.Error())
}

parts := strings.Split(bucket, "/")
parts := strings.SplitN(bucket, "-", 2)
accountName := parts[0]
container := parts[1]

Expand Down

0 comments on commit 397cab9

Please sign in to comment.