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:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user