Skip to content

Commit

Permalink
change from method reference to lambda since java 8 complained about …
Browse files Browse the repository at this point in the history
…raw type
  • Loading branch information
larry-safran committed Feb 11, 2025
1 parent 8e3cf95 commit e6c54b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xds/src/main/java/io/grpc/xds/XdsDependencyManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ XdsConfig buildConfig() {
List<String> topLevelClusters =
cdsWatchers.values().stream()
.filter(XdsDependencyManager::isTopLevelCluster)
.map(XdsWatcherBase::resourceName)
.map(w -> w.resourceName())
.collect(Collectors.toList());

// Flatten multi-level aggregates into lists of leaf clusters
Expand Down

0 comments on commit e6c54b8

Please sign in to comment.