diff options
author | John Garbutt <john@johngarbutt.com> | 2020-03-10 14:29:27 +0000 |
---|---|---|
committer | melanie witt <melwittt@gmail.com> | 2022-02-24 16:20:04 +0000 |
commit | a0c2bd417662ed412cb0664fc5fc1c9c5a02bf15 (patch) | |
tree | 90cf4b1a08b46adb73ba97ad4169402d25dc6f2a /mypy-files.txt | |
parent | 6acefc6b101401686ef03f672fdc6d5be1b32ae1 (diff) | |
download | nova-a0c2bd417662ed412cb0664fc5fc1c9c5a02bf15.tar.gz |
Make unified limits APIs return reserved of 0
Currently the noop driver returns a reserved value of -1, and before
this patch the same is true with the unified limits driver.
Given the way the quota system currently works, the reserved value can
be ignored. With unified limits, we want to make the API look as
identical as possible to the DB driver, when you have the same limits
applied with the unified limits driver. As such, we change the API to
return a reserved value of 0 for the unified limits driver.
Longer term, when the API gets a new microversion to tidy up quotas, the
reserved value will likely be removed in the new microversion, because
it no longer has any real meaning.
blueprint unified-limits-nova
Change-Id: I28212857313ae72903d2139884750d5de690c6bd
Diffstat (limited to 'mypy-files.txt')
0 files changed, 0 insertions, 0 deletions