From b9bd4b9e359d63af1181aebbaa5efdafcd621433 Mon Sep 17 00:00:00 2001 From: Jadon Naas Date: Fri, 30 Jun 2023 15:33:50 -0400 Subject: [PATCH] Fix a breaking typo in the Jinja templates There is an improperly formatted comment in a Jinja2 template. This causes Juju hooks to fail with a template syntax error. Closes-Bug: 2025507 Change-Id: I8d3758e52252d8f1d171de83f614aa4a611d98e8 --- src/templates/parts/authentication_data | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/parts/authentication_data b/src/templates/parts/authentication_data index 0d3156b..a71828f 100644 --- a/src/templates/parts/authentication_data +++ b/src/templates/parts/authentication_data @@ -1,8 +1,8 @@ username = {{ manila_plugin.authentication_data.username }} password = {{ manila_plugin.authentication_data.password }} -{{ # Defense mechanism introduced in the charm release 21.10 because of a +{# Defense mechanism introduced in the charm release 21.10 because of a relation data key renaming, and would be safe to remove 2 releases later. -#}} +#} project_domain_name = {{ manila_plugin.authentication_data.project_domain_name or manila_plugin.authentication_data.project_domain_id }} user_domain_name = {{ manila_plugin.authentication_data.user_domain_name or manila_plugin.authentication_data.user_domain_id }} project_name = {{ manila_plugin.authentication_data.project_name }}