File tree 2 files changed +3
-7
lines changed 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export class RelayCommand extends BaseCommand {
61
61
}
62
62
63
63
nodeIDs . forEach ( nodeID => {
64
- const networkKey = `network-${ nodeID . trim ( ) } -0-svc:50211`
64
+ const networkKey = `network-${ nodeID . trim ( ) } -0-svc:50211` // TODO use render template
65
65
valuesArg += ` --set config.HEDERA_NETWORK.${ networkKey } =0.0.3`
66
66
} )
67
67
Original file line number Diff line number Diff line change @@ -25,12 +25,8 @@ export class Templates {
25
25
return `network-${ nodeId } -0`
26
26
}
27
27
28
- static renderNodeSvcName ( nodeId ) {
29
- return `network-${ nodeId } -svc`
30
- }
31
-
32
28
static renderNetworkSvcName ( nodeId ) {
33
- return `network-${ nodeId } -svc `
29
+ return `network-${ nodeId } `
34
30
}
35
31
36
32
/**
@@ -165,7 +161,7 @@ export class Templates {
165
161
}
166
162
167
163
static renderFullyQualifiedNetworkPodName ( namespace , nodeId ) {
168
- return `${ Templates . renderNetworkPodName ( nodeId ) } .network- ${ nodeId } .${ namespace } .svc.cluster.local`
164
+ return `${ Templates . renderNetworkPodName ( nodeId ) } .${ Templates . renderNetworkSvcName ( nodeId ) } .${ namespace } .svc.cluster.local`
169
165
}
170
166
171
167
static renderFullyQualifiedNetworkSvcName ( namespace , nodeId ) {
You can’t perform that action at this time.
0 commit comments