Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove template key requirement from composable template param source #1486

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions esrally/track/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,7 @@ def __init__(self, track, params, templates, **kwargs):
settings = params.get("settings")
for template in templates:
if not filter_template or template.name == filter_template:
body = template.content
if body and "template" in body:
if template.content:
body = CreateComposableTemplateParamSource._create_or_merge(template.content, ["template", "settings"], settings)
self.template_definitions.append((template.name, body))
else:
Expand Down