Do not use mutable argument
Change-Id: I1cee046b27f63698fe407612441e23e64615bd9d
This commit is contained in:
parent
bc980af7bf
commit
d637fba4bd
@ -64,7 +64,7 @@ def topology(request, query=None, graph_type='tree', all_tenants='false',
|
|||||||
|
|
||||||
def alarms(request, vitrage_id='all', all_tenants='false',
|
def alarms(request, vitrage_id='all', all_tenants='false',
|
||||||
limit=1000,
|
limit=1000,
|
||||||
sort_by=['start_timestamp', 'vitrage_id'],
|
sort_by=('start_timestamp', 'vitrage_id'),
|
||||||
sort_dirs=['asc', 'asc'],
|
sort_dirs=['asc', 'asc'],
|
||||||
filter_by=None,
|
filter_by=None,
|
||||||
filter_vals=None,
|
filter_vals=None,
|
||||||
@ -87,7 +87,7 @@ def alarms(request, vitrage_id='all', all_tenants='false',
|
|||||||
def history(request, all_tenants='false',
|
def history(request, all_tenants='false',
|
||||||
start=None, end=None,
|
start=None, end=None,
|
||||||
limit=1000,
|
limit=1000,
|
||||||
sort_by=['start_timestamp', 'vitrage_id'],
|
sort_by=('start_timestamp', 'vitrage_id'),
|
||||||
sort_dirs=['asc', 'asc'],
|
sort_dirs=['asc', 'asc'],
|
||||||
filter_by=None,
|
filter_by=None,
|
||||||
filter_vals=None,
|
filter_vals=None,
|
||||||
|
Loading…
Reference in New Issue
Block a user