AzureBlob sdk: small API inconsistency #19688
Labels
AzBlob
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
Storage
Storage Service (Queues, Blobs, Files)
Milestone
Feature Request
Hi, this isn't a big deal to me, but since you're frequently breaking the APIs to fix inconsistencies and improve usability, you might want to consider this request.
If you get blob properties like this
https://github.com/drakkan/sftpgo/blob/e2bebc99d1fb7bc03c8cdb215a14318ebc2b6d94/internal/vfs/azblobfs.go#L768
resp.Metadata is
map[string]string
.If you get a blob like this
https://github.com/drakkan/sftpgo/blob/e2bebc99d1fb7bc03c8cdb215a14318ebc2b6d94/internal/vfs/azblobfs.go#L479
or this
https://github.com/drakkan/sftpgo/blob/e2bebc99d1fb7bc03c8cdb215a14318ebc2b6d94/internal/vfs/azblobfs.go#L597
the metadata is
map[string]*string
.Perhaps the SDK could return the same type in both cases.
Feel free to close this issue as wontfix and thanks for your work
The text was updated successfully, but these errors were encountered: