diff options
Diffstat (limited to 'ironic/api/controllers/v1/allocation.py')
-rw-r--r-- | ironic/api/controllers/v1/allocation.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ironic/api/controllers/v1/allocation.py b/ironic/api/controllers/v1/allocation.py index d461f6d4f..0ec07ba96 100644 --- a/ironic/api/controllers/v1/allocation.py +++ b/ironic/api/controllers/v1/allocation.py @@ -181,7 +181,8 @@ class AllocationCollection(collection.Collection): Allocation.convert_with_links(p, fields=fields, sanitize=False) for p in rpc_allocations ] - collection.next = collection.get_next(limit, url=url, **kwargs) + collection.next = collection.get_next(limit, url=url, fields=fields, + **kwargs) for item in collection.allocations: item.sanitize(fields=fields) |