octavia/octavia/api
Sergey Kraynev 85cfb6c2ae Fix negative or 0 limit parameter in pagination
Octavia replace "limit" with None when it is less 1. (for example 0, -1)
However the further code failed to compare None and int values.
This patch fixes it by validation, that limit is None.

Co-Authored-By: Roman Goncharov <gadzhet007@gmail.com>

Closes-Bug: #2060917
Change-Id: I9bb45a1aca6b7b18644752a3dccc3ebfb7c106ef
2024-04-12 19:23:28 +00:00
..
common Fix negative or 0 limit parameter in pagination 2024-04-12 19:23:28 +00:00
drivers pyupgrade changes for Python3.8+ (2) 2024-04-10 10:23:50 +02:00
healthcheck [sqlalchemy2] subtransactions & autocommit removal 2023-07-28 10:28:38 +02:00
v2 Merge "pyupgrade changes for Python3.8+ (2)" 2024-04-12 18:03:28 +00:00
__init__.py Add license for empty __init__.py 2018-03-14 07:02:56 +09:00
app.py pyupgrade changes for Python3.8+ (2) 2024-04-10 10:23:50 +02:00
config.py Fix Octavia API HTTP Accept header handling 2023-02-16 23:23:35 +00:00
root_controller.py pyupgrade changes for Python3.8+ (2) 2024-04-10 10:23:50 +02:00