Skip to content

Commit 9513b0c

Browse files
committed
renamed platformInstaller.taskInstall to platformInstaller.taskSetup
Signed-off-by: Jeromy Cannon <[email protected]>
1 parent 43b7e99 commit 9513b0c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/commands/node.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ export class NodeCommand extends BaseCommand {
840840
subTasks.push({
841841
title: `Node: ${chalk.yellow(nodeId)}`,
842842
task: () =>
843-
self.platformInstaller.taskInstall(
843+
self.platformInstaller.taskSetup(
844844
podName,
845845
ctx.config.stagingDir,
846846
ctx.config.nodeIds,
@@ -1300,7 +1300,7 @@ export class NodeCommand extends BaseCommand {
13001300
subTasks.push({
13011301
title: `Node: ${chalk.yellow(nodeId)}`,
13021302
task: () =>
1303-
self.platformInstaller.taskInstall(podName, config.stagingDir, nodeList, config.keyFormat, config.force)
1303+
self.platformInstaller.taskSetup(podName, config.stagingDir, nodeList, config.keyFormat, config.force)
13041304
})
13051305
}
13061306

@@ -1960,7 +1960,7 @@ export class NodeCommand extends BaseCommand {
19601960
subTasks.push({
19611961
title: `Node: ${chalk.yellow(nodeId)}`,
19621962
task: () =>
1963-
self.platformInstaller.taskInstall(podName, config.stagingDir, config.allNodeIds, config.keyFormat, config.force)
1963+
self.platformInstaller.taskSetup(podName, config.stagingDir, config.allNodeIds, config.keyFormat, config.force)
19641964
})
19651965
}
19661966

src/core/platform_installer.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,7 @@ export class PlatformInstaller {
258258
* @param force force flag
259259
* @returns {Listr<ListrContext, ListrPrimaryRendererValue, ListrSecondaryRendererValue>}
260260
*/
261-
// TODO: rename to taskSetup
262-
taskInstall (podName, stagingDir, nodeIds, keyFormat = constants.KEY_FORMAT_PEM, force = false) {
261+
taskSetup (podName, stagingDir, nodeIds, keyFormat = constants.KEY_FORMAT_PEM, force = false) {
263262
const self = this
264263
return new Listr([
265264
{ // TODO: remove

0 commit comments

Comments
 (0)