From e3b7027b243bac417dd8f8cd442016739d085b2b Mon Sep 17 00:00:00 2001 From: Luis Bosque Date: Wed, 25 Mar 2015 18:23:03 +0100 Subject: [PATCH] Remove unnecesary variable in health check --- lib/cartodb/monitoring/health_check.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/cartodb/monitoring/health_check.js b/lib/cartodb/monitoring/health_check.js index 235f9dae..f59fbfb1 100644 --- a/lib/cartodb/monitoring/health_check.js +++ b/lib/cartodb/monitoring/health_check.js @@ -43,8 +43,7 @@ HealthCheck.prototype.check = function(config, callback) { step( function getManualDisable() { - disabled_file = global.environment.disabled_file; - fs.readFile(disabled_file, this); + fs.readFile(global.environment.disabled_file, this); }, function handleDisabledFile(err, data) { var next = this;