X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cb4efac6793d18892dde09c631895cb98c3df470..d12160e0b194eed8b059a54d92075fa1c6dfcd10:/lib/controller/cmd.go diff --git a/lib/controller/cmd.go b/lib/controller/cmd.go index f0268091be..b9af60fe9d 100644 --- a/lib/controller/cmd.go +++ b/lib/controller/cmd.go @@ -10,10 +10,11 @@ import ( "git.curoverse.com/arvados.git/lib/cmd" "git.curoverse.com/arvados.git/lib/service" "git.curoverse.com/arvados.git/sdk/go/arvados" + "github.com/prometheus/client_golang/prometheus" ) var Command cmd.Handler = service.Command(arvados.ServiceNameController, newHandler) -func newHandler(_ context.Context, cluster *arvados.Cluster, np *arvados.NodeProfile, _ string) service.Handler { - return &Handler{Cluster: cluster, NodeProfile: np} +func newHandler(_ context.Context, cluster *arvados.Cluster, _ string, _ *prometheus.Registry) service.Handler { + return &Handler{Cluster: cluster} }