From 85ac118358b6f026a1612d492ca7016d23c023f7 Mon Sep 17 00:00:00 2001 From: Deepak Mishra <107930718+deepak-swirlds@users.noreply.github.com> Date: Tue, 14 Nov 2023 00:24:32 +0530 Subject: [PATCH] fix(cli): kubectl version command errors out if server is un reachable (#529) Signed-off-by: Deepak Mishra --- fullstack-network-manager/src/commands/base.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fullstack-network-manager/src/commands/base.mjs b/fullstack-network-manager/src/commands/base.mjs index 1eafa33b7..23ac208e7 100644 --- a/fullstack-network-manager/src/commands/base.mjs +++ b/fullstack-network-manager/src/commands/base.mjs @@ -37,7 +37,7 @@ export class BaseCommand extends ShellRunner { * @returns {Promise} */ async checkKubectl() { - return this.checkDep(`${core.constants.KUBECTL} version`) + return this.checkDep(`${core.constants.KUBECTL} version --client`) } /**