From 4f7a5f113796c8ca499383b9d677a4eba9b11f16 Mon Sep 17 00:00:00 2001 From: Gerard Braad Date: Wed, 26 Apr 2023 13:57:04 +0800 Subject: [PATCH] Allow oc-env to be used with the microshift preset For the microshift preset it is preferred to use the oc command to interact with the API. We missed to add this check to match the OpenShift usage. --- src/dev-terminal.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dev-terminal.ts b/src/dev-terminal.ts index a22b254..620fec6 100644 --- a/src/dev-terminal.ts +++ b/src/dev-terminal.ts @@ -44,6 +44,7 @@ async function openTerminalWithOC(): Promise { switch (crcStatus.status.Preset) { case 'openshift': + case 'microshift': command = 'oc-env'; break; case 'podman':