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

Method UnmarshalYAML

modules/overrides/config_legacy.go:272–279  ·  view source on GitHub ↗
(unmarshal func(interface{}) error)

Source from the content-addressed store, hash-verified

270}
271
272func (l *LegacyOverrides) UnmarshalYAML(unmarshal func(interface{}) error) error {
273 type plain LegacyOverrides
274 if err := unmarshal((*plain)(l)); err != nil {
275 return err
276 }
277 // Convert registered extension flat keys to typed instances, matching Overrides.Extensions.
278 return processLegacyExtensions(l)
279}
280
281func (l LegacyOverrides) MarshalYAML() (interface{}, error) {
282 type plain LegacyOverrides

Callers

nothing calls this directly

Calls 1

processLegacyExtensionsFunction · 0.85

Tested by

no test coverage detected