Skip to content

Commit

Permalink
fix node setup
Browse files Browse the repository at this point in the history
Signed-off-by: Lenin Mehedy <lenin.mehedy@swirldslabs.com>
  • Loading branch information
leninmehedy committed Jan 22, 2024
1 parent 214daba commit 12c94ab
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions fullstack-network-manager/src/commands/chart.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,12 @@ export class ChartCommand extends BaseCommand {
static getCommandDefinition (chartCmd) {
return {
command: 'chart',
desc: 'Manage FST chart deployment',
desc: 'Manage chart deployment',
builder: yargs => {
return yargs
.command({
command: 'install',
desc: 'Install FST network deployment chart',
desc: 'Install network deployment chart',
builder: y => {
flags.setCommandFlags(y,
flags.namespace,
Expand Down Expand Up @@ -265,7 +265,7 @@ export class ChartCommand extends BaseCommand {
})
.command({
command: 'uninstall',
desc: 'Uninstall FST network deployment chart',
desc: 'Uninstall network deployment chart',
builder: y => flags.setCommandFlags(y, flags.namespace),
handler: argv => {
chartCmd.logger.debug("==== Running 'chart uninstall' ===")
Expand All @@ -283,7 +283,7 @@ export class ChartCommand extends BaseCommand {
})
.command({
command: 'upgrade',
desc: 'Refresh existing FST network deployment with new values',
desc: 'Refresh existing network deployment with new values',
builder: y => flags.setCommandFlags(y,
flags.namespace,
flags.deployMirrorNode,
Expand Down
2 changes: 1 addition & 1 deletion fullstack-network-manager/src/commands/node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export class NodeCommand extends BaseCommand {
static getCommandDefinition (nodeCmd) {
return {
command: 'node',
desc: 'Manage a FST node running Hedera platform',
desc: 'Manage a node running Hedera platform',
builder: yargs => {
return yargs
.command({
Expand Down
2 changes: 1 addition & 1 deletion fullstack-network-manager/src/core/kubectl2.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ export class Kubectl2 {
for (const entry of filterMap.entries()) {
const field = entry[0]
const value = entry[1]
this.logger.debug(`Checking file ${podName}:${containerName} ${destPath}; ${field} expected ${value}, found ${item[field]}`, { filters })
if (`${value}` !== `${item[field]}`) {
this.logger.debug(`File check failed ${podName}:${containerName} ${destPath}; ${field} expected ${value}, found ${item[field]}`, { filters })
found = false
break
}
Expand Down
2 changes: 1 addition & 1 deletion fullstack-network-manager/src/core/platform_installer.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export class PlatformInstaller {
{
title: 'Extract platform zip file',
task: (_, task) =>
self.copyPlatform(podName, buildZipFile)
self.extractPlatform(podName, buildZipFile)
},
{
title: 'Copy Gossip keys',
Expand Down
8 changes: 4 additions & 4 deletions fullstack-network-manager/src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ export function main (argv) {
configManager.setFlag(flags.namespace, context.namespace)
configManager.persist()

logger.showUser(chalk.green('-------------------------------------------------------------------------------'))
logger.showUser(chalk.cyan('Version\t:'), chalk.yellow(configManager.getVersion()))
logger.showUser(chalk.green('\n-------------------------------------------------------------------------------'))
logger.showUser(chalk.cyan('*** Fullstack Network Manager (FsNetMan) ***'))
logger.showUser(chalk.cyan('Version\t\t\t:'), chalk.yellow(configManager.getVersion()))
logger.showUser(chalk.cyan('Kubernetes Context\t:'), chalk.yellow(context.name))
logger.showUser(chalk.cyan('Kubernetes Cluster\t:'), chalk.yellow(configManager.getFlag(flags.clusterName)))
logger.showUser(chalk.cyan('Kubernetes Namespace\t:'), chalk.yellow(configManager.getFlag(flags.namespace)))
logger.showUser(chalk.green('-------------------------------------------------------------------------------'))
logger.showUser(chalk.green('-------------------------------------------------------------------------------\n'))

const opts = {
logger,
Expand Down

0 comments on commit 12c94ab

Please sign in to comment.