X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/36f8e449321e4fa02d88fee1fded14aa8ff81723..0195e1bbf4c1e5810f637212e9605d2d2dc03e7e:/lib/controller/cmd.go diff --git a/lib/controller/cmd.go b/lib/controller/cmd.go index e006b65941..f0268091be 100644 --- a/lib/controller/cmd.go +++ b/lib/controller/cmd.go @@ -5,7 +5,7 @@ package controller import ( - "net/http" + "context" "git.curoverse.com/arvados.git/lib/cmd" "git.curoverse.com/arvados.git/lib/service" @@ -14,6 +14,6 @@ import ( var Command cmd.Handler = service.Command(arvados.ServiceNameController, newHandler) -func newHandler(cluster *arvados.Cluster, node *arvados.SystemNode) http.Handler { - return &Handler{Cluster: cluster, Node: node} +func newHandler(_ context.Context, cluster *arvados.Cluster, np *arvados.NodeProfile, _ string) service.Handler { + return &Handler{Cluster: cluster, NodeProfile: np} }