Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
Fixes coding style.
Browse files Browse the repository at this point in the history
  • Loading branch information
linjunpop authored Mar 21, 2022
1 parent 851cc48 commit bc0ea98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ Client.prototype._pollConfig = function () {
this._scheduleNextConfigPoll(getMaxAge(res))

if (req.statusCode === 304) {
this._log.debug(`[_pollConfig] statusCode: 304, message: No new config since last time`)
this._log.debug('[_pollConfig] statusCode: 304, message: No new config since last time')
res.resume()
return
}
Expand All @@ -399,11 +399,11 @@ Client.prototype._pollConfig = function () {
// something is wrong on the Central Config server.
switch (res.statusCode) {
case 403:
this._log.warn(`[_pollConfig] statusCode: 403, message: Central config not enabled in APM Server`)
break;
this._log.warn('[_pollConfig] statusCode: 403, message: Central config not enabled in APM Server')
break
case 404:
this._log.warn(`[_pollConfig] statusCode: 404, message: Old APM Server that doesn't support central config`)
break;
this._log.warn('[_pollConfig] statusCode: 404, message: Old APM Server that doesn't support central config')
break
}

res.resume()
Expand Down

0 comments on commit bc0ea98

Please sign in to comment.