engine: graph, resources: Change Watch to use ctx

This is a general port. There are many optimizations and cleanups we can
do now that we have a proper context passed in. That's for a future
patch.
This commit is contained in:
James Shubin
2023-08-07 20:17:32 -04:00
parent 53a878bf61
commit 963393e3d9
37 changed files with 139 additions and 130 deletions

View File

@@ -20,6 +20,7 @@
package autogroup
import (
"context"
"fmt"
"reflect"
"sort"
@@ -66,7 +67,7 @@ func (obj *NoopResTest) Close() error {
return nil
}
func (obj *NoopResTest) Watch() error {
func (obj *NoopResTest) Watch(context.Context) error {
return nil // not needed
}