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

Function isRegisteredExtensionLegacyKey

modules/overrides/extension.go:311–314  ·  view source on GitHub ↗

isRegisteredExtensionLegacyKey reports whether key matches a flat legacy key declared by any registered extension. Must be called with extensionRegistry.RLock held.

(key string)

Source from the content-addressed store, hash-verified

309// isRegisteredExtensionLegacyKey reports whether key matches a flat legacy key declared by any
310// registered extension. Must be called with extensionRegistry.RLock held.
311func isRegisteredExtensionLegacyKey(key string) bool {
312 _, ok := extensionRegistry.allLegacyKeys[key]
313 return ok
314}
315
316// unknownExtensionKeyError is returned by processExtensions when a key in
317// o.Extensions is not found in the registry

Callers 1

processExtensionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected