MCPcopy Create free account
hub / github.com/cortexproject/cortex / Validate

Method Validate

tools/query-audit/config.go:45–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func (cfg *Config) Validate() error {
46 for _, q := range cfg.Queries {
47 if err := q.Validate(); err != nil {
48 return err
49 }
50 }
51 return nil
52}
53
54// LoadConfig read YAML-formatted config from filename into cfg.
55func LoadConfig(filename string, cfg *Config) error {

Callers

nothing calls this directly

Calls 1

ValidateMethod · 0.45

Tested by

no test coverage detected