Skip to content

Commit

Permalink
add hederaImage flag to solo node start
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
  • Loading branch information
jeromy-cannon committed Sep 5, 2024
1 parent a292a45 commit 1e2e3b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,7 @@ export class NodeCommand extends BaseCommand {
ctx.config = {
app: self.configManager.getFlag(flags.app),
cacheDir: self.configManager.getFlag(flags.cacheDir),
hederaImage: self.configManager.getFlag(flags.hederaImage),
namespace: self.configManager.getFlag(flags.namespace),
nodeIds: helpers.parseNodeIds(self.configManager.getFlag(flags.nodeIDs))
}
Expand Down Expand Up @@ -880,7 +881,7 @@ export class NodeCommand extends BaseCommand {
}
})
},
skip: (ctx, _) => self.configManager.getFlag(flags.app) !== '' && self.configManager.getFlag(flags.app) !== constants.HEDERA_APP_NAME
skip: (ctx, _) => ctx.config.app !== '' && ctx.config.app !== constants.HEDERA_APP_NAME
},
{
title: 'Add node stakes',
Expand Down Expand Up @@ -2140,6 +2141,7 @@ export class NodeCommand extends BaseCommand {
builder: y => flags.setCommandFlags(y,
flags.app,
flags.namespace,
flags.hederaImage,
flags.nodeIDs
),
handler: argv => {
Expand Down

0 comments on commit 1e2e3b4

Please sign in to comment.