Add all_tenants paramerter for copies API
Change-Id: Idf4dabb43d1305f1854473be19d65fb05dac0ca3
This commit is contained in:
parent
2df8d3400f
commit
d2655031ae
|
@ -89,7 +89,8 @@ class CopiesController(wsgi.Controller):
|
||||||
filters = {'plan_id': plan_id}
|
filters = {'plan_id': plan_id}
|
||||||
checkpoints = self.protection_api.list_checkpoints(
|
checkpoints = self.protection_api.list_checkpoints(
|
||||||
context, provider_id, marker=None, limit=None,
|
context, provider_id, marker=None, limit=None,
|
||||||
sort_keys=None, sort_dirs=None, filters=filters, offset=None)
|
sort_keys=None, sort_dirs=None, filters=filters, offset=None,
|
||||||
|
all_tenants=False)
|
||||||
|
|
||||||
if not checkpoints:
|
if not checkpoints:
|
||||||
msg = _("The plan has not been protected.")
|
msg = _("The plan has not been protected.")
|
||||||
|
|
Loading…
Reference in New Issue