src/agent/server.js
Function installVM
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
installVM(start = false) {
var vm_name = config("agent:vm:name");
return async(this, function* () {
var installed = yield VM.isInstalled(vm_name);
var running = (installed) ? yield VM.isRunnig(vm_name) : false;
Function _activeDockerMonitor
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_activeDockerMonitor(retry = 3) {
var docker_host = config("docker:host");
log.debug(t("docker.monitor.start", { docker_host, retry }));
var stop = () => {