From d3f06166e99f8d0c7bf45679aa9fc25fc2908e38 Mon Sep 17 00:00:00 2001 From: Fred Bricon Date: Tue, 16 Jul 2024 17:41:05 +0200 Subject: [PATCH] Fix issue opening Routes node in OpenShift explorer Signed-off-by: Fred Bricon --- src/explorer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/explorer.ts b/src/explorer.ts index ebb307a40..a8ad5ac17 100644 --- a/src/explorer.ts +++ b/src/explorer.ts @@ -340,7 +340,7 @@ export class OpenShiftExplorer implements TreeDataProvider, Dispos private collectDeploymentErrors(deployment): string[] { const messages: string[] = []; - deployment.status.conditions.filter((c) => c.status === 'False') + deployment.status.conditions?.filter((c) => c.status === 'False') .forEach((c) => { const message = `${c.reason}: ${c.message ? c.message.trim(): 'No valuable message'}`;