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

Method Validate

tempodb/wal/wal.go:39–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39func (c *Config) Validate() error {
40 if _, err := encoding.FromVersionForWrites(c.Version); err != nil {
41 return fmt.Errorf("failed to validate block version %s: %w", c.Version, err)
42 }
43
44 return nil
45}
46
47func New(c *Config) (*WAL, error) {
48 if c.Filepath == "" {

Callers

nothing calls this directly

Calls 1

FromVersionForWritesFunction · 0.92

Tested by

no test coverage detected