aboutsummaryrefslogtreecommitdiff
path: root/setup/config/config_mscs.go
diff options
context:
space:
mode:
Diffstat (limited to 'setup/config/config_mscs.go')
-rw-r--r--setup/config/config_mscs.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup/config/config_mscs.go b/setup/config/config_mscs.go
index 66a4c80c..b992f715 100644
--- a/setup/config/config_mscs.go
+++ b/setup/config/config_mscs.go
@@ -31,5 +31,7 @@ func (c *MSCs) Enabled(msc string) bool {
}
func (c *MSCs) Verify(configErrs *ConfigErrors, isMonolith bool) {
- checkNotEmpty(configErrs, "mscs.database.connection_string", string(c.Database.ConnectionString))
+ if c.Matrix.DatabaseOptions.ConnectionString == "" {
+ checkNotEmpty(configErrs, "mscs.database.connection_string", string(c.Database.ConnectionString))
+ }
}