We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6605643 + 0f17df6 commit 17f31ffCopy full SHA for 17f31ff
.travis.yml
@@ -45,6 +45,7 @@ jobs:
45
# Test against legacy driver to ensure validity of the test suite
46
- stage: Test
47
php: 5.6
48
+ env: DRIVER_VERSION="1.7.5"
49
install:
50
- yes '' | pecl -q install -f mongo
51
lib/Mongo/MongoClient.php
@@ -222,7 +222,7 @@ public function getHosts()
222
$results[$key] = [
223
'host' => $server->getHost(),
224
'port' => $server->getPort(),
225
- 'health' => (int) $info['ok'],
+ 'health' => 1,
226
'state' => $state,
227
'ping' => $server->getLatency(),
228
'lastPing' => null,
0 commit comments