Skip to content

Commit

Permalink
Update pkg/cortex/cortex.go
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
  • Loading branch information
alvinlin123 and pstibrany committed Jun 25, 2020
1 parent a791200 commit 3cf8f2a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/cortex/cortex.go
Expand Up @@ -295,9 +295,7 @@ func (t *Cortex) setupThanosTracing() {
// Run starts Cortex running, and blocks until a Cortex stops.
func (t *Cortex) Run() error {
if !t.ModuleManager.IsUserVisibleModule(t.Cfg.Target) {
level.Warn(util.Logger).Log(
"msg", fmt.Sprintf("'%v' is not a user visible module, is this intended?", t.Cfg.Target),
"user-visible-modules", strings.Join(t.ModuleManager.UserVisibleModuleNames(), ", "))
level.Warn(util.Logger).Log("msg", "selected target is an internal module, is this intended?", "target", t.Cfg.Target)
}

serviceMap, err := t.ModuleManager.InitModuleServices(t.Cfg.Target)
Expand Down

0 comments on commit 3cf8f2a

Please sign in to comment.