graph/db: thread context through to SetSourceNode

This commit is contained in:
Elle Mouton committed 2025-06-19 14:47:40 +02:00
1 parent e0a9705d59
commit 65049ddd02
11 files changed
+49 -32

No files matched your search

+2 -2
View File
@@ -300,7 +300,7 @@ func parseTestGraph(t *testing.T, useCache bool, path string) (
if source != nil {
// Set the selected source node
if err := graph.SetSourceNode(source); err != nil {
if err := graph.SetSourceNode(ctx, source); err != nil {
return nil, err
}
}
@@ -590,7 +590,7 @@ func createTestGraphFromChannels(t *testing.T, useCache bool,
)
require.NoError(t, err)
if err = graph.SetSourceNode(dbNode); err != nil {
if err = graph.SetSourceNode(ctx, dbNode); err != nil {
return nil, err
}