1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

"kubectl version --client" doesn't have extra values

`--client true` has been working with previous versions, but not with 1.24
This commit is contained in:
Kaspars Bankovskis 2022-05-05 13:37:04 +03:00 committed by Kaspars Bankovskis
parent dbdde19222
commit e03de2647b

View File

@ -155,7 +155,7 @@ export class Kubectl {
try {
const args = [
"version",
"--client", "true",
"--client",
"--output", "json",
];
const { stdout } = await promiseExecFile(path, args);