summaryrefslogtreecommitdiff
path: root/ironic/api/controllers/v1/deploy_template.py
diff options
context:
space:
mode:
Diffstat (limited to 'ironic/api/controllers/v1/deploy_template.py')
-rw-r--r--ironic/api/controllers/v1/deploy_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/api/controllers/v1/deploy_template.py b/ironic/api/controllers/v1/deploy_template.py
index 29c1e279b..90a12ea6c 100644
--- a/ironic/api/controllers/v1/deploy_template.py
+++ b/ironic/api/controllers/v1/deploy_template.py
@@ -237,7 +237,7 @@ class DeployTemplateCollection(collection.Collection):
collection.deploy_templates = [
DeployTemplate.convert_with_links(t, fields=fields, sanitize=False)
for t in templates]
- collection.next = collection.get_next(limit, **kwargs)
+ collection.next = collection.get_next(limit, fields=fields, **kwargs)
for template in collection.deploy_templates:
template.sanitize(fields)