Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: instamenta <[email protected]>
  • Loading branch information
instamenta committed Dec 11, 2024
1 parent 5a62289 commit 26f9341
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ export class NetworkCommand extends BaseCommand {
releaseTag?: string;
persistentVolumeClaims?: string;
valuesFile?: string;
genesisNetworkJson?: string;
haproxyIpsParsed?: Record<NodeAlias, IP>;
envoyIpsParsed?: Record<NodeAlias, IP>;
genesisNetworkJson?: string;
} = {},
) {
let valuesArg = config.chartDirectory
Expand Down
1 change: 1 addition & 0 deletions src/commands/node/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ export class NodeCommandTasks {
*/
_generateGossipKeys(generateMultiple: boolean) {
const self = this;

return new Task(
'Generate gossip keys',
(ctx: any, task: ListrTaskWrapper<any, any, any>) => {
Expand Down
1 change: 1 addition & 0 deletions src/core/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {type NodeAlias, type NodeAliases} from '../types/aliases.js';
import {type CommandFlag} from '../types/flag_types.js';
import {type SoloLogger} from './logging.js';
import {type Duration} from './time/duration.js';
import {NodeAddConfigClass} from '../commands/node/configs.js';

export function sleep(duration: Duration) {
return new Promise<void>(resolve => {
Expand Down
2 changes: 2 additions & 0 deletions src/types/aliases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ export type TaskFunction = (

export type ConfigBuilder = (argv, ctx, task) => Promise<any>;

export type Nullable<T> = T | null;

export type IP = string;

0 comments on commit 26f9341

Please sign in to comment.