Make sysinfo based on provider
This commit is contained in:
14
src/sysinfo/ec2.js
Normal file
14
src/sysinfo/ec2.js
Normal file
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
exports = module.exports = {
|
||||
getIp: getIp
|
||||
};
|
||||
|
||||
var assert = require('assert'),
|
||||
SysInfoError = require('../sysinfo.js').SysInfoError;
|
||||
|
||||
function getIp(callback) {
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
|
||||
callback(new SysInfoError(SysInfoError.INTERNAL_ERROR, 'Not implemented'));
|
||||
}
|
||||
Reference in New Issue
Block a user