fix: clarify incomplete k3s route hint

This commit is contained in:
Codex
2026-06-13 14:30:40 +00:00
parent c324200ecf
commit 669d6248bc
+1 -1
View File
@@ -1612,7 +1612,7 @@ function parseK3sRouteArgs(route: ParsedSshRoute, args: string[]): ParsedSshArgs
return parseK3sControlPlaneOperation(route, args);
}
if (route.namespace === null || route.resource === null) {
throw new Error("ssh k3s target route requires provider:k3s:<namespace>:<deployment|pod:pod-name|pod/resource>");
throw new Error("ssh k3s target route requires provider:k3s:<namespace>:<workload|pod:pod-name>[:<container>]; use --cwd /path for an in-container filesystem cwd");
}
return parseK3sTargetOperation(route, args);
}