diff --git a/backend/couchdb/db.go b/backend/couchdb/db.go index f4fc2174e..057f89b74 100644 --- a/backend/couchdb/db.go +++ b/backend/couchdb/db.go @@ -38,7 +38,7 @@ func Database(name string) (*kivik.DB, error) { return nil, err } - if cfg.DisableHealthCheck { + if !cfg.DisableHealthCheck { servicehealthcheck.RegisterHealthCheck("couchdb("+name+")", &HealthCheck{ Name: name, Client: healthCheckClient,