Skip to content

Commit c68c268

Browse files
author
Matthew Fisher
committed
formatting
Signed-off-by: Matthew Fisher <[email protected]>
1 parent 4c3e625 commit c68c268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/watch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import byline = require('byline');
2-
import request = require('request');
32
import keepalive = require('net-keepalive');
3+
import request = require('request');
44
import { Duplex } from 'stream';
55
import { KubeConfig } from './config';
66

@@ -113,7 +113,7 @@ export class Watch {
113113
req = this.requestImpl.webRequest(requestOptions);
114114
const stream = byline.createStream();
115115
req.on('error', doneCallOnce);
116-
req.on('socket', function(socket) {
116+
req.on('socket', (socket) => {
117117
socket.setTimeout(30000);
118118
socket.setKeepAlive(true);
119119
keepalive.setKeepAliveInterval(socket, 30000);

0 commit comments

Comments
 (0)