MCPcopy
hub / github.com/grafana/tempo / isModuleActive

Method isModuleActive

cmd/tempo/app/modules.go:817–826  ·  view source on GitHub ↗
(m string)

Source from the content-addressed store, hash-verified

815}
816
817func (t *App) isModuleActive(m string) bool {
818 if t.cfg.Target == m {
819 return true
820 }
821 if t.recursiveIsModuleActive(t.cfg.Target, m) {
822 return true
823 }
824
825 return false
826}
827
828func (t *App) recursiveIsModuleActive(target, m string) bool {
829 if targetDeps, ok := t.deps[target]; ok {

Callers 2

initServerMethod · 0.95
initUsageReportMethod · 0.95

Calls 1

Tested by

no test coverage detected