Skip to content

Commit

Permalink
chore: apply changes from main
Browse files Browse the repository at this point in the history
Signed-off-by: Ivo Yankov <ivo@devlabs.bg>
  • Loading branch information
Ivo-Yankov committed Oct 3, 2024
1 parent 507a2cf commit f178e53
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/commands/node/configs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ export const downloadGeneratedFilesConfigBuilder = async function (argv, ctx, ta

const config = /** @type {NodePrepareUpgradeConfigClass} **/ this.getConfig(
DOWNLOAD_GENERATED_FILES_CONFIGS_NAME, argv.flags, [
'allNodeIds',
'existingNodeIds',
'allNodeAliases',
'existingNodeAliases',
'serviceMap'
])

config.existingNodeIds = []
config.existingNodeAliases = []
await this.initializeSetup(config, this.k8)

return config
Expand Down
2 changes: 1 addition & 1 deletion src/commands/node/tasks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export class NodeCommandTasks {
for (/** @type {NetworkNodeServices} **/ const networkNodeServices of config.serviceMap.values()) {
config.existingNodeAliases.push(networkNodeServices.nodeName)
}
config.allnodeAliases = [...config.existingNodeAliases]
config.allNodeAliases = [...config.existingNodeAliases]
return this.taskCheckNetworkNodePods(ctx, task, config.existingNodeAliases)
})
}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/commands/node_upgrade.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('Node upgrade', () => {
await nodeCmd.downloadGeneratedFiles(upgradeArgv)
expect(nodeCmd.getUnusedConfigs(DOWNLOAD_GENERATED_FILES_CONFIGS_NAME)).toEqual([
flags.devMode.constName,
'allNodeIds'
'allNodeAliases'
])
}, 300000)

Expand Down

0 comments on commit f178e53

Please sign in to comment.