graphdb: pass context to GraphSession

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent 8722a96a4e
commit 0bb0d66952
9 files changed
+19 -16

No files matched your search

+2 -2
View File
@@ -234,8 +234,8 @@ func (m *mockGraph) FetchNodeFeatures(_ context.Context,
// the channel graph.
//
// NOTE: Part of the GraphSessionFactory interface.
func (m *mockGraph) GraphSession(cb func(graph graphdb.NodeTraverser) error,
_ func()) error {
func (m *mockGraph) GraphSession(_ context.Context,
cb func(graph graphdb.NodeTraverser) error, _ func()) error {
return cb(m)
}