Skip to content

Commit

Permalink
Fix empty GitRepos list on Cluster details
Browse files Browse the repository at this point in the history
  • Loading branch information
aruiz14 committed Nov 20, 2024
1 parent 92c74d9 commit 7db801b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shell/models/fleet.cattle.io.gitrepo.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,11 @@ export default class GitRepo extends SteveModel {
for (const bd of bundleDeployments) {
const clusterId = FleetUtils.clusterIdFromBundleDeploymentLabels(bd.metadata?.labels);
const c = clusters[clusterId];

if (!c) {
continue;
}

const resources = FleetUtils.resourcesFromBundleDeploymentStatus(bd.status);

resources.forEach((r) => {
Expand Down

0 comments on commit 7db801b

Please sign in to comment.