Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Jun 17, 2024
1 parent 6e7533d commit cf04ae0
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions clients/js/packages/client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,22 +390,6 @@ export class StarshipClient implements StarshipClientI {
this.log(`${chalk.red('Error:')} Pod ${podName} has restarted more than ${this.RESTART_THRESHOLD} times.`);
this.exit(1);
}

// if (status === 'Running' && ready) {
// // this.log(`[${chalk.blue(podName)}]: ${chalk.green('RUNNING')}`);
// this.podStatuses.set(podName, status);
// } else if (status === 'Running' && !ready) {
// this.podStatuses.set(podName, 'RunningButNotReady');
// } else if (status === 'Terminating') {
// // this.log(`[${chalk.blue(podName)}]: ${chalk.gray('TERMINATING')}`);
// } else if (reason && (reason.includes('ImagePullBackOff') || reason.includes('ErrImagePull'))) {
// // this.log(`${chalk.blue(podName)} failed due to ${chalk.red(reason)}. Exiting...`);
// this.exit(1);
// } else {
// this.podStatuses.set(podName, 'Pending');
// // this.log(`[${chalk.blue(podName)}]: ${chalk.red(status)}`);
// // setTimeout(() => this.checkPodStatus(podName), 2500); // check every 2.5 seconds
// }
}

public async waitForPods(): Promise<void> {
Expand Down

0 comments on commit cf04ae0

Please sign in to comment.