Skip to content

Commit

Permalink
fix(obcluster): list events of related pods of obcluster
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI committed Apr 8, 2024
1 parent 726a3cc commit b818514
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/dashboard/handler/obcluster_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ func ListOBClusterRelatedEvents(c *gin.Context) ([]response.K8sEvent, error) {
names = append(names, obzone.Name)
}
events = append(events, GetScopedEvents(c, nn.Namespace, "OBServer", names)...)
events = append(events, GetScopedEvents(c, nn.Namespace, "Pod", names)...)
}

logger.Debugf("Get related events of obcluster: %v", nn)
Expand Down

0 comments on commit b818514

Please sign in to comment.