Skip to content

Commit

Permalink
Remove quotes around kubectl argument to avoid incorrect parsing on W…
Browse files Browse the repository at this point in the history
…indows (#192)
  • Loading branch information
peterbom authored Jan 20, 2023
1 parent 6faa6e6 commit dcd962f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/aksKubectlCommands/aksKubectlCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,23 @@ export async function aksKubectlK8sHealthzAPIEndpointCommands(
_context: IActionContext,
target: any
): Promise<void> {
const command = `get --raw='/healthz?verbose'`;
const command = "get --raw /healthz?verbose";
await aksKubectlCommands(_context, target, command);
}

export async function aksKubectlK8sLivezAPIEndpointCommands(
_context: IActionContext,
target: any
): Promise<void> {
const command = `get --raw='/livez?verbose'`;
const command = "get --raw /livez?verbose";
await aksKubectlCommands(_context, target, command);
}

export async function aksKubectlK8sReadyzAPIEndpointCommands(
_context: IActionContext,
target: any
): Promise<void> {
const command = `get --raw='/readyz?verbose'`;
const command = "get --raw /readyz?verbose";
await aksKubectlCommands(_context, target, command);
}

Expand Down

0 comments on commit dcd962f

Please sign in to comment.