mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-20 10:19:27 -05:00
This completes some of the missing connections for contexts in the provider source codepaths by introducing context.Context parameters and wiring them through so we can eliminate a few more context.TODO() placeholders. For consistency's sake this adds context.Context to all four of the getproviders.Source implementations that directly interact with stuff outside of OpenTofu (network services or filesystem), even though not all of them currently make use of it, just because interactions with outside stuff tends to encourage cross-cutting concerns like logging and tracing and so this ensures we have contexts propagated in there for such future uses. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
5.6 KiB
5.6 KiB