← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~lgp171188/lp-archive:charm-fix-esm-layouts-section-name-typo into lp-archive:main

 

Guruprasad has proposed merging ~lgp171188/lp-archive:charm-fix-esm-layouts-section-name-typo into lp-archive:main.

Commit message:
charm: Fix a typo in the ESM_LAYOUTS config section name

The lp-archive app looks for the 'ESM_LAYOUTS' array in the
configuration.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~lgp171188/lp-archive/+git/lp-archive/+merge/468788
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~lgp171188/lp-archive:charm-fix-esm-layouts-section-name-typo into lp-archive:main.
diff --git a/charm/lp-archive/templates/config.toml.j2 b/charm/lp-archive/templates/config.toml.j2
index 6cdd026..54a929d 100644
--- a/charm/lp-archive/templates/config.toml.j2
+++ b/charm/lp-archive/templates/config.toml.j2
@@ -19,7 +19,7 @@ esm_auth_endpoint = "{{ esm_auth_endpoint }}"
 {%- if esm_layouts %}
 {%- for esm_layout in esm_layouts %}
 
-[[ESM_LAYOUT]]
+[[ESM_LAYOUTS]]
 host = "{{ esm_layout["host"] }}"
 purpose = "{{ esm_layout["purpose"] }}"
 archive = "{{ esm_layout["archive"] }}"