"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 authored and Kaspars Bankovskis committed 2022-05-05 13:40:30 +03:00
1 parent dbdde19222
commit e03de2647b
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);