mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
fix variable naming
This commit is contained in:
parent
4703b367aa
commit
fd272c5b3b
1 changed files with 2 additions and 2 deletions
|
@ -50,9 +50,9 @@ export class LogInterceptor extends Stream.Transform {
|
|||
*/
|
||||
downgradeIfEpipe(event) {
|
||||
const isClientError = doTagsMatch(event, ['connection', 'client', 'error']);
|
||||
const isEconnreset = isClientError && get(event, 'data.errno') === 'EPIPE';
|
||||
const isEpipe = isClientError && get(event, 'data.errno') === 'EPIPE';
|
||||
|
||||
if (!isEconnreset) return null;
|
||||
if (!isEpipe) return null;
|
||||
|
||||
return {
|
||||
event: 'log',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue