Skip to content

Commit

Permalink
Fix issue opening Routes node in OpenShift explorer
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Bricon <[email protected]>
  • Loading branch information
fbricon authored and vrubezhny committed Jul 16, 2024
1 parent ea24164 commit d3f0616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export class OpenShiftExplorer implements TreeDataProvider<ExplorerItem>, 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'}`;

Expand Down

0 comments on commit d3f0616

Please sign in to comment.