Skip to content

Commit d3f0616

Browse files
fbriconvrubezhny
authored andcommitted
Fix issue opening Routes node in OpenShift explorer
Signed-off-by: Fred Bricon <[email protected]>
1 parent ea24164 commit d3f0616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/explorer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ export class OpenShiftExplorer implements TreeDataProvider<ExplorerItem>, Dispos
340340

341341
private collectDeploymentErrors(deployment): string[] {
342342
const messages: string[] = [];
343-
deployment.status.conditions.filter((c) => c.status === 'False')
343+
deployment.status.conditions?.filter((c) => c.status === 'False')
344344
.forEach((c) => {
345345
const message = `${c.reason}: ${c.message ? c.message.trim(): 'No valuable message'}`;
346346

0 commit comments

Comments
 (0)