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

Commit f32a364

Browse files
committed
Fixes coding style.
1 parent f7229aa commit f32a364

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ Client.prototype._pollConfig = function () {
390390
this._scheduleNextConfigPoll(getMaxAge(res))
391391

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

409409
res.resume()

0 commit comments

Comments
 (0)