mirror of
https://github.com/rancher/steve.git
synced 2025-06-29 16:27:15 +00:00
Previous SQLite-related code used context.Background() and context.TODO() because it was not developed with context awareness. This commit propagates the main Steve context so that it can be used when interacting with SQL context-aware functions. This PR removes all production-code use of context.Background() and context.TODO() and replaces test-code use of TODO with Background. Contributes to rancher/rancher#47825 |
||
---|---|---|
.. | ||
transaction | ||
client_test.go | ||
client.go | ||
db_mocks_test.go | ||
transaction_mocks_test.go | ||
utility.go |