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 committed 2022-05-18 13:45:41 -04:00
1 parent 5eac53e94a
commit d0ce1deb47
1 file changed
+1 -1
+1 -1
View File
@@ -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);