lists: ensure correct pool is used for each list

This commit is contained in:
Iain Learmonth 2022-09-27 09:22:57 +01:00
parent 339b02d815
commit ba2894c697
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ class ListGitlabAutomation(ListAutomation):
project = data.gitlab_project.project_{{ list.id }}.id
file_path = "{{ list.filename }}"
branch = "{{ list.branch }}"
content = base64encode(file("{{ list.format }}.{{ list.encoding }}"))
content = base64encode(file("{{ list.format }}.{{ list.pool.pool_name }}.{{ list.encoding }}"))
author_email = "{{ gitlab_author_email }}"
author_name = "{{ gitlab_author_name }}"
commit_message = "{{ gitlab_commit_message }}"