From ad80985213bb8bc796dc7159b6f1b2c9eb88fe16 Mon Sep 17 00:00:00 2001
From: James Page <james.page@canonical.com>
Date: Thu, 3 Oct 2024 13:00:27 +0100
Subject: [PATCH] Use section configuration for database

Older style sql_connection in the DEFAULT section is not supported
at caracal; use sectional configuration instead.

Change-Id: Ia9ed91f550ce0c761c82151aa03e5c448b57a7b0
---
 src/templates/train/watcher.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/templates/train/watcher.conf b/src/templates/train/watcher.conf
index 47c367c..b8728f6 100644
--- a/src/templates/train/watcher.conf
+++ b/src/templates/train/watcher.conf
@@ -5,7 +5,7 @@ host_href = {{ options.external_endpoints.watcher_api.url }}
 
 {% include "parts/section-transport-url" %}
 
-{% include "parts/database" %}
+{% include "parts/section-database" %}
 
 {% include "parts/section-keystone-authtoken" %}