Skip to content

Commit f178e53

Browse files
committed
chore: apply changes from main
Signed-off-by: Ivo Yankov <[email protected]>
1 parent 507a2cf commit f178e53

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: src/commands/node/configs.mjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ export const downloadGeneratedFilesConfigBuilder = async function (argv, ctx, ta
7373

7474
const config = /** @type {NodePrepareUpgradeConfigClass} **/ this.getConfig(
7575
DOWNLOAD_GENERATED_FILES_CONFIGS_NAME, argv.flags, [
76-
'allNodeIds',
77-
'existingNodeIds',
76+
'allNodeAliases',
77+
'existingNodeAliases',
7878
'serviceMap'
7979
])
8080

81-
config.existingNodeIds = []
81+
config.existingNodeAliases = []
8282
await this.initializeSetup(config, this.k8)
8383

8484
return config

Diff for: src/commands/node/tasks.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export class NodeCommandTasks {
318318
for (/** @type {NetworkNodeServices} **/ const networkNodeServices of config.serviceMap.values()) {
319319
config.existingNodeAliases.push(networkNodeServices.nodeName)
320320
}
321-
config.allnodeAliases = [...config.existingNodeAliases]
321+
config.allNodeAliases = [...config.existingNodeAliases]
322322
return this.taskCheckNetworkNodePods(ctx, task, config.existingNodeAliases)
323323
})
324324
}

Diff for: test/e2e/commands/node_upgrade.test.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('Node upgrade', () => {
6565
await nodeCmd.downloadGeneratedFiles(upgradeArgv)
6666
expect(nodeCmd.getUnusedConfigs(DOWNLOAD_GENERATED_FILES_CONFIGS_NAME)).toEqual([
6767
flags.devMode.constName,
68-
'allNodeIds'
68+
'allNodeAliases'
6969
])
7070
}, 300000)
7171

0 commit comments

Comments
 (0)