Skip to content

Commit

Permalink
removed todo in title: 'Check proxy pods are running'
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <[email protected]>
  • Loading branch information
jeromy-cannon committed Feb 12, 2025
1 parent d08a239 commit 9b43649
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/commands/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -766,14 +766,12 @@ export class NetworkCommand extends BaseCommand {
const config = ctx.config;

// HAProxy
// TODO: @Lenin, needs to use config.consensusNodes
for (const nodeAlias of config.nodeAliases) {
for (const consensusNode of config.consensusNodes) {
subTasks.push({
title: `Check HAProxy for: ${chalk.yellow(nodeAlias)}`,
// TODO: @Lenin, needs to use config.consensusNodes for both node name and context
title: `Check HAProxy for: ${chalk.yellow(consensusNode.name)}, cluster: ${chalk.yellow(consensusNode.cluster)}`,
task: async () =>
await self.k8Factory
.default()
.getK8(consensusNode.context)
.pods()
.waitForRunningPhase(
config.namespace,
Expand Down

0 comments on commit 9b43649

Please sign in to comment.