X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6c78b28f9f54664babc57a4b4372c502065ed5d1..6d7139a0e133bdbf780a358db198b14a2ded4b7c:/services/health/main.go diff --git a/services/health/main.go b/services/health/main.go index 2f66b2461e..bc57d36d04 100644 --- a/services/health/main.go +++ b/services/health/main.go @@ -8,18 +8,19 @@ 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 ( version = "dev" - command cmd.Handler = service.Command(arvados.ServiceNameController, newHandler) + 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} }