X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/506d054ca6417627f8e0d913621ff8774daba4aa..9cdec66d5b0238e9d99c1e8e1d5c8571d798689d:/services/health/main.go diff --git a/services/health/main.go b/services/health/main.go index a06a4f884d..bc57d36d04 100644 --- a/services/health/main.go +++ b/services/health/main.go @@ -8,10 +8,11 @@ import ( "context" "os" - "git.curoverse.com/arvados.git/lib/cmd" - "git.curoverse.com/arvados.git/lib/service" - "git.curoverse.com/arvados.git/sdk/go/arvados" - "git.curoverse.com/arvados.git/sdk/go/health" + "git.arvados.org/arvados.git/lib/cmd" + "git.arvados.org/arvados.git/lib/service" + "git.arvados.org/arvados.git/sdk/go/arvados" + "git.arvados.org/arvados.git/sdk/go/health" + "github.com/prometheus/client_golang/prometheus" ) var ( @@ -19,7 +20,7 @@ var ( command cmd.Handler = service.Command(arvados.ServiceNameHealth, newHandler) ) -func newHandler(ctx context.Context, cluster *arvados.Cluster, _ string) service.Handler { +func newHandler(ctx context.Context, cluster *arvados.Cluster, _ string, _ *prometheus.Registry) service.Handler { return &health.Aggregator{Cluster: cluster} }