Skip to content

Commit 9b43649

Browse files
committed
removed todo in title: 'Check proxy pods are running'
Signed-off-by: Jeromy Cannon <[email protected]>
1 parent d08a239 commit 9b43649

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/commands/network.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -766,14 +766,12 @@ export class NetworkCommand extends BaseCommand {
766766
const config = ctx.config;
767767

768768
// HAProxy
769-
// TODO: @Lenin, needs to use config.consensusNodes
770-
for (const nodeAlias of config.nodeAliases) {
769+
for (const consensusNode of config.consensusNodes) {
771770
subTasks.push({
772-
title: `Check HAProxy for: ${chalk.yellow(nodeAlias)}`,
773-
// TODO: @Lenin, needs to use config.consensusNodes for both node name and context
771+
title: `Check HAProxy for: ${chalk.yellow(consensusNode.name)}, cluster: ${chalk.yellow(consensusNode.cluster)}`,
774772
task: async () =>
775773
await self.k8Factory
776-
.default()
774+
.getK8(consensusNode.context)
777775
.pods()
778776
.waitForRunningPhase(
779777
config.namespace,

0 commit comments

Comments
 (0)