refactor: simplify cli conversions

This commit is contained in:
Peter Steinberger
2026-04-11 01:27:39 +01:00
parent 5c0d1c6a40
commit 1fb2e18f47
21 changed files with 24 additions and 25 deletions

View File

@@ -234,7 +234,7 @@ export function registerNodesStatusCommands(nodes: Command) {
.requiredOption("--node <idOrNameOrIp>", "Node id, name, or IP")
.action(async (opts: NodesRpcOpts) => {
await runNodesCommand("describe", async () => {
const nodeId = await resolveNodeId(opts, String(opts.node ?? ""));
const nodeId = await resolveNodeId(opts, opts.node ?? "");
const result = await callGatewayCli("node.describe", opts, {
nodeId,
});