File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -734,18 +734,16 @@ export class NetworkCommand extends BaseCommand {
734
734
const config = ctx . config ;
735
735
736
736
// nodes
737
- // TODO: @Lenin , needs to use config.consensusNodes
738
- for ( const nodeAlias of config . nodeAliases ) {
737
+ for ( const consensusNode of config . consensusNodes ) {
739
738
subTasks . push ( {
740
- title : `Check Node: ${ chalk . yellow ( nodeAlias ) } ` ,
741
- // TODO: @Lenin , needs to use config.consensusNodes for both node name and context
739
+ title : `Check Node: ${ chalk . yellow ( consensusNode . name ) } , Cluster: ${ chalk . yellow ( consensusNode . cluster ) } ` ,
742
740
task : async ( ) =>
743
741
await self . k8Factory
744
- . default ( )
742
+ . getK8 ( consensusNode . context )
745
743
. pods ( )
746
744
. waitForRunningPhase (
747
745
config . namespace ,
748
- [ `solo.hedera.com/node-name=${ nodeAlias } ` , 'solo.hedera.com/type=network-node' ] ,
746
+ [ `solo.hedera.com/node-name=${ consensusNode . name } ` , 'solo.hedera.com/type=network-node' ] ,
749
747
constants . PODS_RUNNING_MAX_ATTEMPTS ,
750
748
constants . PODS_RUNNING_DELAY ,
751
749
) ,
You can’t perform that action at this time.
0 commit comments