fix: lint errors

pull/3878/head
HdroguettA 1 year ago
parent b660f64b91
commit 7a0e11d535

@ -560,7 +560,7 @@ exports.radius = function (
* Redis server ping
* @param {string} dsn The redis connection string
* @param {boolean} rejectUnauthorized If false, allows unverified server certificates.
* @returns {Promise<any>}
* @returns {Promise<any>} Response from server
*/
exports.redisPingAsync = function (dsn, rejectUnauthorized) {
return new Promise((resolve, reject) => {

@ -1118,10 +1118,9 @@ message HealthCheckResponse {
/**
* Retrieves the appropriate ignore TLS error label based on the monitor type.
*
* @return {string} Returns the non specific label if the monitor type is 'redis',
* otherwise, returns the default.
* @returns {string} Returns the non specific label if the monitor type is 'redis', otherwise, returns the default.
*/
ignoreTlsLabel() {
ignoreTlsLabel() {
return this.monitor.type === "redis"
? this.$t("ignoreTLSErrorGeneral")
: this.$t("ignoreTLSError");

Loading…
Cancel
Save