File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
clients/js/packages/client/src Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export interface PodPorts {
49
49
}
50
50
51
51
const defaultName : string = 'starship' ;
52
- const defaultVersion : string = 'v0.2.14 ' ;
52
+ const defaultVersion : string = 'v0.2.19 ' ;
53
53
54
54
// TODO talk to Anmol about moving these into yaml, if not already possible?
55
55
const defaultPorts : PodPorts = {
@@ -558,6 +558,13 @@ export class StarshipClient implements StarshipClientI {
558
558
public async waitForPods ( ) : Promise < void > {
559
559
const podNames = this . getPodNames ( ) ;
560
560
561
+ // Remove pods that are no longer active from the podStatuses map
562
+ this . podStatuses . forEach ( ( _value , podName ) => {
563
+ if ( ! podNames . includes ( podName ) ) {
564
+ this . podStatuses . delete ( podName ) ;
565
+ }
566
+ } ) ;
567
+
561
568
// Check the status of each pod retrieved
562
569
podNames . forEach ( ( podName ) => {
563
570
this . checkPodStatus ( podName ) ;
@@ -658,7 +665,6 @@ export class StarshipClient implements StarshipClientI {
658
665
const eventLines = eventsSection
659
666
. split ( '\n' )
660
667
. filter ( ( line ) => line . trim ( ) !== '' ) ;
661
- this . log ( `event lints: ${ eventLines . join ( '\n' ) } ` ) ;
662
668
663
669
return eventLines ;
664
670
}
You can’t perform that action at this time.
0 commit comments