Skip to content

Commit

Permalink
Change internal socket back to private field
Browse files Browse the repository at this point in the history
  • Loading branch information
jportner authored Jan 13, 2021
1 parent ff190e6 commit 044a062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/server/http/router/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class KibanaSocket implements IKibanaSocket {
return this.socket instanceof TLSSocket ? this.socket.authorizationError : undefined;
}

constructor(public readonly socket: Socket) {}
constructor(private readonly socket: Socket) {}

getPeerCertificate(detailed: true): DetailedPeerCertificate | null;
getPeerCertificate(detailed: false): PeerCertificate | null;
Expand Down

0 comments on commit 044a062

Please sign in to comment.