4c2b41d5b5
Fix the code that enforces the image volume cache max size and max count
limits so that each limit functions independently from the other.
This fixes a bug where the code would function correctly when both were
set to zero (unlimited) or when both limits were set (non-zero), but would
misbehave when only one limit was set and the other unlimited.
Closes-Bug: #1792944
Change-Id: I8b4843c2e9392139b42d6e2ebd2c5e1cd09d4c7a
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
cache.py | ||
glance.py | ||
image_utils.py |