graphdb: pass context to GraphSession
This commit is contained in:
9 files changed
+19
-16
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user