Skip to content

Commit

Permalink
fix delete children clusters twice. (apolloconfig#2645)
Browse files Browse the repository at this point in the history
fix delete children clusters twice.
  • Loading branch information
Accelerator96 authored and nobodyiam committed Oct 18, 2019
1 parent 081ff81 commit 9b9695b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void deleteApp(App app, String operator) {

logger.info("{} is deleting App:{}", operator, appId);

List<Cluster> managedClusters = clusterService.findClusters(appId);
List<Cluster> managedClusters = clusterService.findParentClusters(appId);

// 1. delete clusters
if (Objects.nonNull(managedClusters)) {
Expand Down

0 comments on commit 9b9695b

Please sign in to comment.