From 83045896422827d214fa8795795967d1688d1533 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 18 Oct 2020 08:50:32 +0200 Subject: [PATCH] Method renaming. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/charging-station/ChargingStation.js b/src/charging-station/ChargingStation.js index 12501d54..2bed5ff0 100644 --- a/src/charging-station/ChargingStation.js +++ b/src/charging-station/ChargingStation.js @@ -24,7 +24,7 @@ class ChargingStation { this._isSocketRestart = false; - this._authorizedTags = this._getAuthorizedTags(); + this._authorizedTags = this._loadAndGetAuthorizedTags(); } _initialize() { @@ -57,7 +57,7 @@ class ChargingStation { return this._stationInfo.authorizationFile ? this._stationInfo.authorizationFile : ''; } - _getAuthorizedTags() { + _loadAndGetAuthorizedTags() { let authorizedTags = []; const authorizationFile = this._getAuthorizationFile(); if (authorizationFile) { @@ -81,7 +81,7 @@ class ChargingStation { try { logger.debug(this._basicFormatLog() + ' Authorization file ' + this._getAuthorizationFile() + ' have changed, reload'); // Initialize _authorizedTags - this._authorizedTags = this._getAuthorizedTags(); + this._authorizedTags = this._loadAndGetAuthorizedTags(); } catch (error) { logger.error(this._basicFormatLog() + ' Authorization file monitoring error: ' + error); } -- 2.34.1