Skip to content

Commit 90dfff0

Browse files
committed
fix: append filtered cluster details to the cluster detail list in capacity handler
1 parent 29e9b57 commit 90dfff0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

api/k8s/capacity/k8sCapacityRestHandler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ func (handler *K8sCapacityRestHandlerImpl) filterAuthorizedClusterDetails(
515515
if !authenticatedClusterIds[capacityDetail.Id] {
516516
continue
517517
}
518+
clusterDetailList = append(clusterDetailList, capacityDetail)
518519
}
519520

520521
handler.logger.Debugw("converted and filtered cluster details from cache",

0 commit comments

Comments
 (0)