Skip to content
Snippets Groups Projects
Unverified Commit a9cf679f authored by Cam Saul's avatar Cam Saul Committed by GitHub
Browse files

Merge pull request #7848 from abn/issue/5571

Handle Azure Cosmos DB connections
parents c0c730d4 7a642f28
No related branches found
No related tags found
No related merge requests found
......@@ -23,9 +23,9 @@
(defn- can-connect? [details]
(with-mongo-connection [^DB conn, details]
(= (-> (cmd/db-stats conn)
(conv/from-db-object :keywordize)
:ok)
(= (float (-> (cmd/db-stats conn)
(conv/from-db-object :keywordize)
:ok))
1.0)))
(defn- humanize-connection-error-message [message]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment