Fix listing backups failed with using non-existing method.
Change-Id: Ia78b6940462c0e919be0f7b438369ff60e9e9a2c Closes-Bug: #1647528
This commit is contained in:
parent
070f3f779d
commit
73021724c2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue