Skip to content

Commit e060218

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

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
@@ -783,14 +783,12 @@ export class NetworkCommand extends BaseCommand {
783783
}
784784

785785
// Envoy Proxy
786-
// TODO: @Lenin, needs to use config.consensusNodes
787-
for (const nodeAlias of config.nodeAliases) {
786+
for (const consensusNode of config.consensusNodes) {
788787
subTasks.push({
789-
title: `Check Envoy Proxy for: ${chalk.yellow(nodeAlias)}`,
790-
// TODO: @Lenin, needs to use config.consensusNodes for both node name and context
788+
title: `Check Envoy Proxy for: ${chalk.yellow(consensusNode.name)}, cluster: ${chalk.yellow(consensusNode.cluster)}`,
791789
task: async () =>
792790
await self.k8Factory
793-
.default()
791+
.getK8(consensusNode.context)
794792
.pods()
795793
.waitForRunningPhase(
796794
ctx.config.namespace,

0 commit comments

Comments
 (0)