From 1628db8f8f1f096e318181bb28bc54a5a15f99ab Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 5 Jan 2022 15:59:47 +0000 Subject: [PATCH] Fix version in config.Defaults --- setup/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/config/config.go b/setup/config/config.go index 01205a50..eb371a54 100644 --- a/setup/config/config.go +++ b/setup/config/config.go @@ -292,7 +292,7 @@ func (config *Dendrite) Derive() error { // SetDefaults sets default config values if they are not explicitly set. func (c *Dendrite) Defaults(generate bool) { - c.Version = 1 + c.Version = Version c.Global.Defaults(generate) c.ClientAPI.Defaults(generate)