diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-05-06 13:51:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 13:51:48 +0100 |
commit | 507f63d0fc8158f200f3e29fd36e5f09c83e62db (patch) | |
tree | ec553399ddf351cc953e3f20cfec8dbfaa17d8f5 /cmd | |
parent | a1a5357f799887fc5b7e3bf5c81bbf3198704645 (diff) |
Add `PolylithMode` base config option (#2428)
* Add `PolylithMode` base config option
* Polylith mode always uses HTTP APIs
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/dendrite-polylith-multi/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dendrite-polylith-multi/main.go b/cmd/dendrite-polylith-multi/main.go index 4fccaa92..e4845f64 100644 --- a/cmd/dendrite-polylith-multi/main.go +++ b/cmd/dendrite-polylith-multi/main.go @@ -71,8 +71,8 @@ func main() { logrus.Infof("Starting %q component", component) - base := base.NewBaseDendrite(cfg, component) // TODO - defer base.Close() // nolint: errcheck + base := base.NewBaseDendrite(cfg, component, base.PolylithMode) // TODO + defer base.Close() // nolint: errcheck go start(base, cfg) base.WaitForShutdown() |