Skip to content

Commit

Permalink
fix(cli): kubectl version command errors out if server is un reachable (
Browse files Browse the repository at this point in the history
#529)

Signed-off-by: Deepak Mishra <[email protected]>
  • Loading branch information
deepak-swirlds authored Nov 13, 2023
1 parent 3762af1 commit 85ac118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fullstack-network-manager/src/commands/base.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class BaseCommand extends ShellRunner {
* @returns {Promise<boolean>}
*/
async checkKubectl() {
return this.checkDep(`${core.constants.KUBECTL} version`)
return this.checkDep(`${core.constants.KUBECTL} version --client`)
}

/**
Expand Down

0 comments on commit 85ac118

Please sign in to comment.