sysinfo: getIp -> getPublicIp

This commit is contained in:
Girish Ramakrishnan
2017-02-23 22:03:44 -08:00
parent fdb8139b03
commit 32e2377828
9 changed files with 21 additions and 21 deletions

View File

@@ -7,12 +7,12 @@
// -------------------------------------------
exports = module.exports = {
getIp: getIp
getPublicIp: getPublicIp
};
var assert = require('assert');
function getIp(callback) {
function getPublicIp(callback) {
assert.strictEqual(typeof callback, 'function');
callback(new Error('not implemented'));