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

Method validate

tempodb/config.go:151–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149}
150
151func (cfg *CompactorConfig) validate() error {
152 if cfg.MaxCompactionRange == 0 {
153 return errors.New("compaction window can't be 0")
154 }
155
156 return nil
157}
158
159func validateConfig(cfg *Config) error {
160 if cfg == nil {

Callers 1

Calls

no outgoing calls

Tested by 1