summaryrefslogtreecommitdiff
path: root/jstests/libs
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2015-04-30 09:47:35 -0400
committerJonathan Reams <jbreams@mongodb.com>2015-04-30 09:47:35 -0400
commitc269033226874638626b6c028bf0f81fa0af2006 (patch)
treeeda7eaf89b4389b245940fe5af3eac67e0807ba6 /jstests/libs
parent88882960587d58c83f42ffaee6b3ab39b43be66c (diff)
downloadmongo-c269033226874638626b6c028bf0f81fa0af2006.tar.gz
SERVER-18099 Refactor buildinfo/version reporting
Diffstat (limited to 'jstests/libs')
-rw-r--r--jstests/libs/host_ipaddr.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/libs/host_ipaddr.js b/jstests/libs/host_ipaddr.js
index 7db1417e977..d6d5059aa19 100644
--- a/jstests/libs/host_ipaddr.js
+++ b/jstests/libs/host_ipaddr.js
@@ -20,7 +20,7 @@ function get_ipaddr() {
var hostType = null;
try {
- hostType = getBuildInfo().sysInfo.split(' ')[0];
+ hostType = getBuildInfo().buildEnvironment.target_os;
// os-specific methods
if (hostType == "windows") {