1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-01 14:48:30 +00:00
steve/pkg/server
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
..
cli updated wrangler from v2 to v3 2024-06-05 22:53:08 +05:30
handler Implement /ext in Steve for Imperative API (#287) 2024-10-11 15:19:27 -04:00
router Implement /ext in Steve for Imperative API (#287) 2024-10-11 15:19:27 -04:00
config.go updated wrangler from v2 to v3 2024-06-05 22:53:08 +05:30
server.go sql: propagate and use contexts (#465) 2025-02-12 09:46:10 +01:00