Commit 47623188 by Zuul Committed by Gerrit Code Review

Merge "List accelerators for all-tenants by default"

parents 751c8156 d63b8587
......@@ -165,7 +165,11 @@ class AcceleratorsController(AcceleratorsControllerBase):
@expose.expose(AcceleratorCollection, int, types.uuid, wtypes.text,
wtypes.text, types.boolean)
def get_all(self, limit=None, marker=None, sort_key='id', sort_dir='asc',
# FIXME(Yumeng) we changed the default option of all-tenants to True
# to avoid an error where accelerator_list returns none all the time.
# we'll fix it when acc's project related info ready.
"""Retrieve a list of accelerators.
:param limit: Optional, to determinate the maximum number of
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment