Commit 9b9695b9 authored by Zhuohao Li's avatar Zhuohao Li Committed by Jason Song

fix delete children clusters twice. (#2645)

fix delete children clusters twice.
parent 081ff81f
...@@ -54,7 +54,7 @@ public class AdminService { ...@@ -54,7 +54,7 @@ public class AdminService {
logger.info("{} is deleting App:{}", operator, appId); logger.info("{} is deleting App:{}", operator, appId);
List<Cluster> managedClusters = clusterService.findClusters(appId); List<Cluster> managedClusters = clusterService.findParentClusters(appId);
// 1. delete clusters // 1. delete clusters
if (Objects.nonNull(managedClusters)) { if (Objects.nonNull(managedClusters)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment