sysinfo: remove the ec2 and scaleway providers

we can just use the generic one for those as well
This commit is contained in:
Girish Ramakrishnan
2019-10-30 09:13:01 -07:00
parent 82a7befb92
commit a829ab44f1
4 changed files with 1 additions and 84 deletions
-6
View File
@@ -15,12 +15,6 @@ function api(provider) {
assert.strictEqual(typeof provider, 'string');
switch (provider) {
case 'ec2':
case 'lightsail':
case 'ami':
return require('./sysinfo/ec2.js');
case 'scaleway': return require('./sysinfo/scaleway.js');
case 'fixed': return require('./sysinfo/fixed.js');
case 'network-interface': return require('./sysinfo/network-interface.js');
default: return require('./sysinfo/generic.js');