Skip to content

Commit

Permalink
Docs: Fix comment in Loki module loading for accuracy (#4926)
Browse files Browse the repository at this point in the history
* Fix comment in Loki module loading for accuracy

* Update CHANGELOG.md
  • Loading branch information
thejosephstevens authored Dec 14, 2021
1 parent feb5d71 commit 413a8e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Main

* [4926](https://github.com/grafana/loki/pull/4926) **thejosephstevens**: Fix comment in Loki module loading for accuracy
* [4920](https://github.com/grafana/loki/pull/4920) **chaudum**: Add `-list-targets` command line flag to list all available run targets
* [4860](https://github.com/grafana/loki/pull/4860) **cyriltovena**: Add rate limiting and metrics to hedging
* [4865](https://github.com/grafana/loki/pull/4865) **taisho6339**: Fix duplicate registry.MustRegister call in Promtail Kafka
Expand Down
2 changes: 1 addition & 1 deletion pkg/loki/loki.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ func (t *Loki) setupModuleManager() error {
Write: {Ingester, Distributor},
}

// Add IngesterQuerier as a dependency for store when target is either ingester or querier.
// Add IngesterQuerier as a dependency for store when target is either querier, ruler, or read.
if t.Cfg.isModuleEnabled(Querier) || t.Cfg.isModuleEnabled(Ruler) || t.Cfg.isModuleEnabled(Read) {
deps[Store] = append(deps[Store], IngesterQuerier)
}
Expand Down

0 comments on commit 413a8e9

Please sign in to comment.