fix: clarify daemon status probe target

This commit is contained in:
Peter Steinberger
2026-01-08 08:45:25 +01:00
parent 742850adae
commit 44441dd5d8
4 changed files with 17 additions and 8 deletions

View File

@@ -207,6 +207,7 @@ async function probeGatewayStatus(opts: {
password?: string;
timeoutMs: number;
json?: boolean;
configPath?: string;
}) {
try {
await withProgress(
@@ -224,6 +225,7 @@ async function probeGatewayStatus(opts: {
timeoutMs: opts.timeoutMs,
clientName: "cli",
mode: "cli",
...(opts.configPath ? { configPath: opts.configPath } : {}),
}),
);
return { ok: true } as const;
@@ -447,6 +449,7 @@ async function gatherDaemonStatus(opts: {
daemonCfg.gateway?.auth?.password,
timeoutMs,
json: opts.rpc.json,
configPath: daemonConfigSummary.path,
})
: undefined;
let lastError: string | undefined;