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 (#5415)
This commit is contained in:
parent
5eac53e94a
commit
30a9409faf
@ -155,7 +155,7 @@ export class Kubectl {
|
|||||||
try {
|
try {
|
||||||
const args = [
|
const args = [
|
||||||
"version",
|
"version",
|
||||||
"--client", "true",
|
"--client",
|
||||||
"--output", "json",
|
"--output", "json",
|
||||||
];
|
];
|
||||||
const { stdout } = await promiseExecFile(path, args);
|
const { stdout } = await promiseExecFile(path, args);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user