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

operation shares product quota unless override #134

Merged
merged 2 commits into from
Jun 1, 2023
Merged

Conversation

theganyo
Copy link
Member

@theganyo theganyo commented Jun 1, 2023

Fixes #132

@codecov
Copy link

codecov bot commented Jun 1, 2023

Codecov Report

Merging #134 (cfa84e6) into main (6db69e2) will increase coverage by 1%.
The diff coverage is 100%.

@@         Coverage Diff         @@
##           main   #134   +/-   ##
===================================
+ Coverage    84%    84%   +1%     
===================================
  Files        28     28           
  Lines      1656   1657    +1     
===================================
+ Hits       1383   1384    +1     
  Misses      159    159           
  Partials    114    114           
Impacted Files Coverage Δ
product/product.go 88% <100%> (+1%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@theganyo theganyo requested a review from rockspore June 1, 2023 00:32
rockspore
rockspore previously approved these changes Jun 1, 2023
ao := AuthorizedOperation{
ID: fmt.Sprintf("%s-%s-%s-%s", p.Name, env, authContext.Application, oc.ID),
ID: fmt.Sprintf("%s-%s-%s-%s", p.Name, env, authContext.Application, oc.APISource),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This ID is still different from the one on line 352, IIUC that's not sharing the same product-level quota bucket?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Yes, it absolutely should be the same.

@rockspore rockspore dismissed their stale review June 1, 2023 13:46

Got a new comment.

@theganyo theganyo merged commit e73eb0c into main Jun 1, 2023
@theganyo theganyo deleted the theganyo/issue132 branch June 1, 2023 15:54
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.

Quotas are being applied per operation
2 participants