X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e95c41c6a9ee3d1c01c31fa35d08eeadd440c24f..217aba73f6366cf1af30683baa6d0d5d1e3407a9:/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} }