1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-31 15:11:31 +00:00
Files
steve/pkg/sqlcache/store
Silvio Moioli 3350323f91 sql: propagate and use contexts (#465)
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
2025-02-12 09:46:10 +01:00
..