From dcd962f73ffbade3d1fc4a0d9a68f3b43f2cee7a Mon Sep 17 00:00:00 2001 From: peterbom Date: Fri, 20 Jan 2023 14:03:22 +1300 Subject: [PATCH] Remove quotes around kubectl argument to avoid incorrect parsing on Windows (#192) --- src/commands/aksKubectlCommands/aksKubectlCommands.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/aksKubectlCommands/aksKubectlCommands.ts b/src/commands/aksKubectlCommands/aksKubectlCommands.ts index 8d247351..a82f9494 100644 --- a/src/commands/aksKubectlCommands/aksKubectlCommands.ts +++ b/src/commands/aksKubectlCommands/aksKubectlCommands.ts @@ -62,7 +62,7 @@ export async function aksKubectlK8sHealthzAPIEndpointCommands( _context: IActionContext, target: any ): Promise { - const command = `get --raw='/healthz?verbose'`; + const command = "get --raw /healthz?verbose"; await aksKubectlCommands(_context, target, command); } @@ -70,7 +70,7 @@ export async function aksKubectlK8sLivezAPIEndpointCommands( _context: IActionContext, target: any ): Promise { - const command = `get --raw='/livez?verbose'`; + const command = "get --raw /livez?verbose"; await aksKubectlCommands(_context, target, command); } @@ -78,7 +78,7 @@ export async function aksKubectlK8sReadyzAPIEndpointCommands( _context: IActionContext, target: any ): Promise { - const command = `get --raw='/readyz?verbose'`; + const command = "get --raw /readyz?verbose"; await aksKubectlCommands(_context, target, command); }