fix: lint errors

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

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

@ -1118,8 +1118,7 @@ message HealthCheckResponse {
/** /**
* Retrieves the appropriate ignore TLS error label based on the monitor type. * 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', * @returns {string} Returns the non specific label if the monitor type is 'redis', otherwise, returns the default.
* otherwise, returns the default.
*/ */
ignoreTlsLabel() { ignoreTlsLabel() {
return this.monitor.type === "redis" return this.monitor.type === "redis"

Loading…
Cancel
Save