summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJames E. Blair <jim@acmegating.com>2022-01-17 13:15:58 -0800
committerClark Boylan <clark.boylan@gmail.com>2022-01-25 16:07:08 -0800
commit41d8e478a5298699cef1e8364667945070e620d7 (patch)
tree6c16f91c3dd0c7b22bcc1d31192b4e0e8a0762b8 /etc
parent07b0b5c5fa4d8174132f59e86bc3eb914e565fa2 (diff)
downloadzuul-41d8e478a5298699cef1e8364667945070e620d7.tar.gz
Remove "sql connection" backwards compatability for database
In 4.0 we deprecated connections using the "sql" driver in favor of using the new "database" config file section. Remove the backwards compatible handling of that so that "sql" connections or lack of "database" section report an error. Change-Id: I7e592cf5ff63f73f487e41bb6e3e4a4ae523e3fc
Diffstat (limited to 'etc')
-rw-r--r--etc/zuul.conf-sample7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/zuul.conf-sample b/etc/zuul.conf-sample
index 4da044515..01967078e 100644
--- a/etc/zuul.conf-sample
+++ b/etc/zuul.conf-sample
@@ -1,3 +1,6 @@
+[database]
+dburi=mysql+pymysql://user@localhost/zuul
+
[statsd]
server=127.0.0.1
@@ -69,7 +72,3 @@ server=localhost
user=zuul
password=zuul
;keepalive=60
-
-[connection mydatabase]
-driver=sql
-dburi=mysql+pymysql://user@localhost/zuul