Fix listing backups failed with using non-existing method.

Change-Id: Ia78b6940462c0e919be0f7b438369ff60e9e9a2c
Closes-Bug: #1647528
This commit is contained in:
Pengju Jiao 2016-12-06 12:37:05 +08:00
parent 070f3f779d
commit 73021724c2
1 changed files with 3 additions and 3 deletions

View File

@ -464,9 +464,9 @@ class Backup(object):
if search:
search = {"match": [{"_all": search}, ], }
backups = self.client.backups.list_all(limit=limit,
offset=offset,
search=search)
backups = self.client.backups.list(limit=limit,
offset=offset,
search=search)
if json:
return backups