python-freezerclient/freezerclient/v2
gengchc2 1dae9c1d42 Correct search opt param in SessionList
There are differences between session and other tables(
job, atcion, backup, client):
for example:
--search '{"match": [{"id": "820e30c284fb4d"}]}'
1.It is coversed to '{"match": [{"id": "820e30c284fb4d"}]}'
  in session
2.It is coversed to {'match': [{'_all': '{"match":
  [{"id": "820e30c284fb4d"}]}}]}' in other talbes
It can lead to mistakes:
ERROR freezer-api   File "/opt/stack/freezer-api/freezer_api/
storage/elasticv2.py", line 47, in get_base_search_filter
ERROR freezer-api     match_list = [{"match": m} for m
in search.get('match', [])]
 ERROR freezer-api AttributeError: 'unicode' object
 has no attribute 'get'
Change-Id: Id9b918208caef1f3b6d31e780a951b0ab6f5e98f
2018-11-26 01:21:33 +00:00
..
managers Freezerclient v2 2017-06-28 14:27:45 +01:00
__init__.py Freezerclient v2 2017-06-28 14:27:45 +01:00
actions.py add action show command field for freezerclient 2018-10-29 02:52:51 +00:00
backups.py add backup show command field for freezerclient 2018-10-29 03:43:51 +00:00
client.py Freezerclient use "token" to authentication is not success 2018-10-23 05:59:08 -04:00
clients.py Freezerclient v2 2017-06-28 14:27:45 +01:00
jobs.py add show job command field for freezerclient 2018-10-29 03:41:09 +00:00
sessions.py Correct search opt param in SessionList 2018-11-26 01:21:33 +00:00