Fix version in config.Defaults

This commit is contained in:
Neil Alexander 2022-01-05 15:59:47 +00:00
parent 81ac9bb440
commit 1628db8f8f
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -292,7 +292,7 @@ func (config *Dendrite) Derive() error {
// SetDefaults sets default config values if they are not explicitly set. // SetDefaults sets default config values if they are not explicitly set.
func (c *Dendrite) Defaults(generate bool) { func (c *Dendrite) Defaults(generate bool) {
c.Version = 1 c.Version = Version
c.Global.Defaults(generate) c.Global.Defaults(generate)
c.ClientAPI.Defaults(generate) c.ClientAPI.Defaults(generate)