Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass correct project ID to get tenant_usages
The current implementation of tenant_quota_usages did not allow for queries regarding projects that were not the currently active project, this meant that when an admin went to edit or create a project it tried to verify the usages against the wrong project. This patch adds the code for passing a project id to the tenant_quota_usages function so that the usages can be fetched for a specific project, as well as removes the need for usage validation on creation of a new project. Change-Id: I3ec84d14c8be7e3aae066119e963c4093f8aa345 Closes-Bug: 1380701
- Loading branch information
Showing
4 changed files
with
57 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters