This repository was archived by the owner on Aug 4, 2023. It is now read-only.
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ Client.prototype._pollConfig = function () {
390
390
this . _scheduleNextConfigPoll ( getMaxAge ( res ) )
391
391
392
392
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' )
394
394
res . resume ( )
395
395
return
396
396
}
@@ -399,11 +399,11 @@ Client.prototype._pollConfig = function () {
399
399
// something is wrong on the Central Config server.
400
400
switch ( res . statusCode ) {
401
401
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
404
404
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
407
407
}
408
408
409
409
res . resume ( )
You can’t perform that action at this time.
0 commit comments