This is an automated email from the ASF dual-hosted git repository. heneveld pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
commit a504829f9e9c4e3f08aa768206e622676bf5d672 Author: zan-mateusz <[email protected]> AuthorDate: Wed Jul 14 12:17:01 2021 +0100 server.js cleanup --- ui-modules/utils/api/brooklyn/server.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-modules/utils/api/brooklyn/server.js b/ui-modules/utils/api/brooklyn/server.js index eda1e5e..90b2a82 100644 --- a/ui-modules/utils/api/brooklyn/server.js +++ b/ui-modules/utils/api/brooklyn/server.js @@ -66,7 +66,7 @@ function ServerApi($http, $q, cache) { return $http.get('/v1/server/up/extended', angular.extend({cache: cache}, config)); } - function setHaStatus(state, config) { + function setHaStatus(state) { return $http({ method: 'POST', url: '/v1/server/ha/state', @@ -80,7 +80,7 @@ function ServerApi($http, $q, cache) { }); } - function setHaPriority(priority, config) { + function setHaPriority(priority) { return $http({ method: 'POST', url: '/v1/server/ha/priority', @@ -98,7 +98,7 @@ function ServerApi($http, $q, cache) { return $http.post('/v1/server/ha/states/clear', angular.extend({cache: cache}, config)); } - function removeHaTerminatedNode(nodeId, config){ + function removeHaTerminatedNode(nodeId){ return $http({ method: 'POST', url: '/v1/server/ha/states/clear/node',
