Skip to content

Commit fcd9b5a

Browse files
authored
Merge pull request #6915 from devtron-labs/fix/cluster-cache-list
fix: append filtered cluster details to the cluster detail list in capacity handler
2 parents 29e9b57 + 90dfff0 commit fcd9b5a

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)