mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-19 17:59:05 -05:00
As part of our ongoing work to plumb cross-cutting concerns like tracing spans into the core language runtime, here we change the exported API of the context.Schemas method to take a context.Context, and trivially update all of the callers to pass in a suitable context. Earlier work on this means that we don't have fix up too many call stack levels before we already have a suitable context.Context value to use. The Schemas method doesn't yet make any use of its new context.Context, but that will follow in subsequent PRs. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>