Fill the gaps in MaxCtrl testing

The MaxCtrl test suite now covers most of the code that can be tested
within reasonable limits. Also removed some dead code in `list servers`.
This commit is contained in:
Markus Mäkelä
2018-08-09 12:36:40 +03:00
parent 50c20e79ee
commit f6cd8b6454
4 changed files with 37 additions and 9 deletions

View File

@ -71,15 +71,6 @@ exports.builder = function(yargs) {
.then(() => filterResource(res, fields))
.then((res) => rawCollectionAsTable(res, fields))
})
return getRawCollection(host, 'servers', fields)
.then((res) => {
res.forEach((i) => {
// The server name will be first
//console.log(i[0])
})
return rawCollectionAsTable(res, fields);
})
})
})
.command('services', 'List services', function(yargs) {