aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2021-11-24 11:57:39 +0000
committerGitHub <noreply@github.com>2021-11-24 11:57:39 +0000
commitc9419e51afeb0c8cb39a43bd8a0d0d472347a8a1 (patch)
tree7b425f81fe82f73c80857799a35d0ad6a004db4a /internal
parentec716793eb86e7723ecfaa356e148334bc3921eb (diff)
Don't populate config defaults where it doesn't make sense (#2058)
* Don't populate config defaults where it doesn't make sense * Fix dendritejs builds
Diffstat (limited to 'internal')
-rw-r--r--internal/test/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/test/config.go b/internal/test/config.go
index 6281e7f6..826d2ce0 100644
--- a/internal/test/config.go
+++ b/internal/test/config.go
@@ -50,7 +50,7 @@ const (
// Generates new matrix and TLS keys for the server.
func MakeConfig(configDir, kafkaURI, database, host string, startPort int) (*config.Dendrite, int, error) {
var cfg config.Dendrite
- cfg.Defaults()
+ cfg.Defaults(true)
port := startPort
assignAddress := func() config.HTTPAddress {