graph/db: thread context through to SetSourceNode
This commit is contained in:
11 files changed
+49
-32
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user