summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/resources/scenario_models.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-08-21 18:54:07 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-08-21 18:59:49 +0800
commitdf45dd491f4156df70e05ebe98d3d24980b2ead0 (patch)
tree29cc476fa464ca5a3f9348b6eacdcdcda988f3e9 /utils/test/testapi/opnfv_testapi/resources/scenario_models.py
parent117c48ea667348525b8b8a35d8bc8e2f8067dcd5 (diff)
bugfix: OperationFailure: the limit must be positive
in cursor.aggregate(), set limit=0 is not allowed, in this patch, if no records to be listed, return empty list directly, no more aggregate() JIRA: RELENG-293 Change-Id: I7317892875da9c0f785ba010b55715032dee31ce Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/resources/scenario_models.py')
0 files changed, 0 insertions, 0 deletions