diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2015-04-30 09:47:35 -0400 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2015-04-30 09:47:35 -0400 |
commit | c269033226874638626b6c028bf0f81fa0af2006 (patch) | |
tree | eda7eaf89b4389b245940fe5af3eac67e0807ba6 /jstests/libs | |
parent | 88882960587d58c83f42ffaee6b3ab39b43be66c (diff) | |
download | mongo-c269033226874638626b6c028bf0f81fa0af2006.tar.gz |
SERVER-18099 Refactor buildinfo/version reporting
Diffstat (limited to 'jstests/libs')
-rw-r--r-- | jstests/libs/host_ipaddr.js | 2 |
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") { |