We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d08a239 commit 9b43649Copy full SHA for 9b43649
src/commands/network.ts
@@ -766,14 +766,12 @@ export class NetworkCommand extends BaseCommand {
766
const config = ctx.config;
767
768
// HAProxy
769
- // TODO: @Lenin, needs to use config.consensusNodes
770
- for (const nodeAlias of config.nodeAliases) {
+ for (const consensusNode of config.consensusNodes) {
771
subTasks.push({
772
- title: `Check HAProxy for: ${chalk.yellow(nodeAlias)}`,
773
- // 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)}`,
774
task: async () =>
775
await self.k8Factory
776
- .default()
+ .getK8(consensusNode.context)
777
.pods()
778
.waitForRunningPhase(
779
config.namespace,
0 commit comments