Package: python-glance-store / 5.4.0-4

Metadata

Package Version Patches format
python-glance-store 5.4.0-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Fix_Swift_download_failure_when_retry_count_is_None.patch | (download)

glance_store/_drivers/swift/store.py | 4 3 + 1 - 0 !
glance_store/tests/unit/test_swift_store.py | 14 14 + 0 - 0 !
glance_store/tests/unit/test_swift_store_multibackend.py | 15 15 + 0 - 0 !
releasenotes/notes/fix-swift-download-none-retry-2f5c8d1a4b9e6c73.yaml | 11 11 + 0 - 0 !
4 files changed, 43 insertions(+), 1 deletion(-)

 fix swift download failure when retry count is none
 Glance failed to download image data from Swift when
 swift_store_retry_get_count is None, because the code compared
 None with an integer and raised a TypeError. This change normalizes
 the retry count to 0 before comparisons in the Swift store, so
 downloads work even when the option is not set.