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 {
545
545
} else {
546
546
throw new Error ( 'Unsupported proxy type' ) ;
547
547
}
548
- } else if ( cluster && cluster . server && cluster . server . startsWith ( 'http:' ) ) {
548
+ } else if ( cluster ? .server ? .startsWith ( 'http:' ) ) {
549
549
agent = new http . Agent ( agentOptions ) ;
550
550
} else {
551
551
agent = new https . Agent ( agentOptions ) ;
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ describe('KubeConfig', () => {
299
299
} ) ;
300
300
} ) ;
301
301
302
- describe . only ( 'applyHTTPSOptions' , ( ) => {
302
+ describe ( 'applyHTTPSOptions' , ( ) => {
303
303
it ( 'should apply tls-server-name to https.RequestOptions' , async ( ) => {
304
304
const kc = new KubeConfig ( ) ;
305
305
kc . loadFromFile ( kcTlsServerNameFileName ) ;
You can’t perform that action at this time.
0 commit comments