File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ export class KubeConfig implements SecurityAuthentication {
545545 } else {
546546 throw new Error ( 'Unsupported proxy type' ) ;
547547 }
548- } else if ( cluster && cluster . server && cluster . server . startsWith ( 'http:' ) ) {
548+ } else if ( cluster ? .server ? .startsWith ( 'http:' ) ) {
549549 agent = new http . Agent ( agentOptions ) ;
550550 } else {
551551 agent = new https . Agent ( agentOptions ) ;
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ describe('KubeConfig', () => {
299299 } ) ;
300300 } ) ;
301301
302- describe . only ( 'applyHTTPSOptions' , ( ) => {
302+ describe ( 'applyHTTPSOptions' , ( ) => {
303303 it ( 'should apply tls-server-name to https.RequestOptions' , async ( ) => {
304304 const kc = new KubeConfig ( ) ;
305305 kc . loadFromFile ( kcTlsServerNameFileName ) ;
You can’t perform that action at this time.
0 commit comments