Fix the eni watcher for windows
@@ -20,12 +20,15 @@ import (
"errors"
"fmt"
"runtime"
+
+ "github.com/aws/amazon-ecs-agent/agent/engine"
+ "github.com/aws/amazon-ecs-agent/agent/engine/dockerstate"
)
// udevWatcher is a local construct to mimic the eniwatcher on unsupported platforms
type udevWatcher struct{}
// New is used to return an error for unsupported platforms
-func New(ctx context.Context) (*udevWatcher, error) {
+func New(ctx context.Context, state dockerstate.TaskEngineState, engine engine.TaskEngine) (*udevWatcher, error) {
return nil, errors.New(fmt.Sprintf("eni watcher new: unsupported platform: %s/%s", runtime.GOOS, runtime.GOARCH))
}
