Add PolylithMode base config option (#2428)

* Add `PolylithMode` base config option

* Polylith mode always uses HTTP APIs
This commit is contained in:
Neil Alexander 2022-05-06 13:51:48 +01:00 committed by GitHub
parent a1a5357f79
commit 507f63d0fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -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()