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

Fix Kubectl.checkBinary() to be compatible with kubectl@1.24

- This is a backwards compatible change with versions of kubectl going
  back to at least 1.16

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-05-18 13:44:07 -04:00
parent 5eac53e94a
commit d0ce1deb47

View File

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