Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cosmos] Replace / Update Throughput is not working #22915

Closed
latenite opened this issue May 17, 2024 · 1 comment · Fixed by #22923
Closed

[cosmos] Replace / Update Throughput is not working #22915

latenite opened this issue May 17, 2024 · 1 comment · Fixed by #22923
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Cosmos 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

Comments

@latenite
Copy link

latenite commented May 17, 2024

Bug Report

A typo in cosmos_database.go prevents the update of a Cosmos database throughput via the SDK.

The method called should be return offers.ReplaceThroughputIfExists(ctx, throughputProperties, rid, o)

  • import path "github.com/Azure/azure-sdk-for-go/sdk/data/azcosmos"
  • SDK version: latest
  • go1.21.6

Example of how to use the method can be found here:
https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/data/azcosmos#example-ContainerClient.ReplaceThroughput

@github-actions github-actions bot added Client This issue points to a problem in the data-plane of the library. Cosmos 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 question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team. labels May 17, 2024
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @MehaKaushik @wmengmsft.

@latenite latenite changed the title Cosmos SDK - Replace / Update Throughput is not working [cosmos] Replace / Update Throughput is not working May 17, 2024
@jhendrixMSFT jhendrixMSFT removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label May 17, 2024
@jhendrixMSFT jhendrixMSFT removed the Service Attention This issue is responsible by Azure service team. label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Cosmos 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants