From 4ecde0d854594243977896e819391eda5270fd3f Mon Sep 17 00:00:00 2001 From: TheRealChssAddct Date: Wed, 7 Oct 2020 06:56:39 -0600 Subject: [PATCH] fix: Explictly specify microk8s.status output format (#907) Signed-off-by: TheRealChssAddct --- src/tasks/platforms/microk8s.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tasks/platforms/microk8s.ts b/src/tasks/platforms/microk8s.ts index 821441ae2..d66949c40 100644 --- a/src/tasks/platforms/microk8s.ts +++ b/src/tasks/platforms/microk8s.ts @@ -110,7 +110,7 @@ export class MicroK8sTasks { } async enabledAddons(): Promise { - const { stdout } = await execa('microk8s.status', [], { timeout: 10000 }) + const { stdout } = await execa('microk8s.status', ['--format', 'short'], { timeout: 10000 }) return { ingress: stdout.includes('ingress: enabled'), storage: stdout.includes('storage: enabled')