Skip to content

Commit a92305e

Browse files
committed
remove dead code
Signed-off-by: Jeromy Cannon <[email protected]>
1 parent 969ecf3 commit a92305e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/commands/node.mjs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -566,29 +566,21 @@ export class NodeCommand extends BaseCommand {
566566
self.configManager.update(argv)
567567
await prompts.execute(task, self.configManager, [
568568
flags.namespace,
569-
flags.chartDirectory, // TODO still needed?
570569
flags.nodeIDs
571570
])
572571

573572
ctx.config = {
574573
namespace: self.configManager.getFlag(flags.namespace),
575-
chartDir: self.configManager.getFlag(flags.chartDirectory), // TODO still needed?
576-
fstChartVersion: self.configManager.getFlag(flags.fstChartVersion), // TODO still needed?
577574
nodeIds: helpers.parseNodeIDs(self.configManager.getFlag(flags.nodeIDs)),
578575
applicationEnv: self.configManager.getFlag(flags.applicationEnv),
579576
cacheDir: self.configManager.getFlag(flags.cacheDir)
580577
}
581578

582-
ctx.config.chartPath = await self.prepareChartPath(ctx.config.chartDir, // TODO still needed?
583-
constants.FULLSTACK_TESTING_CHART, constants.FULLSTACK_DEPLOYMENT_CHART)
584-
585579
ctx.config.stagingDir = Templates.renderStagingDir(self.configManager, flags)
586580

587581
if (!await self.k8.hasNamespace(ctx.config.namespace)) {
588582
throw new FullstackTestingError(`namespace ${ctx.config.namespace} does not exist`)
589583
}
590-
591-
await self.accountManager.loadNodeClient(ctx.config.namespace) // TODO is this still needed?
592584
}
593585
},
594586
{
@@ -680,7 +672,6 @@ export class NodeCommand extends BaseCommand {
680672
} catch (e) {
681673
throw new FullstackTestingError(`Error starting node: ${e.message}`, e)
682674
} finally {
683-
await self.accountManager.close()
684675
await self.close()
685676
}
686677

0 commit comments

Comments
 (0)