Skip to content

Commit

Permalink
fix: Explictly specify microk8s.status output format (#907)
Browse files Browse the repository at this point in the history
Signed-off-by: TheRealChssAddct <[email protected]>
  • Loading branch information
TheRealChssAddct authored Oct 7, 2020
1 parent 70ab627 commit 4ecde0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/platforms/microk8s.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class MicroK8sTasks {
}

async enabledAddons(): Promise<object> {
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')
Expand Down

0 comments on commit 4ecde0d

Please sign in to comment.