From e3454158798938199af5d2c73778b28d878945a8 Mon Sep 17 00:00:00 2001 From: Andreas Streichardt Date: Mon, 13 Feb 2017 17:23:05 +0100 Subject: [PATCH] Allow removing dbservers which are no longer in use --- js/actions/api-cluster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/actions/api-cluster.js b/js/actions/api-cluster.js index 9123e20ecc..9136f31796 100644 --- a/js/actions/api-cluster.js +++ b/js/actions/api-cluster.js @@ -105,7 +105,7 @@ actions.defineHttp({ let preconditions = {}; preconditions['/arango/Supervision/Health/' + serverId + '/Status'] = {'old': 'FAILED'}; // need to make sure it is not responsible for anything - if (node.Role == 'DBServer') { + if (node.Role === 'DBServer') { let used = []; preconditions = reducePlanServers(function(data, agencyKey, servers) { data[agencyKey] = {'old': servers};