Skip to content

Commit 4a68213

Browse files
only to filter out creating object, because resources may be loading at start.
1 parent 92de8af commit 4a68213

File tree

1 file changed

+1
-1
lines changed
  • PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-springcloud/src/main/java/com/microsoft/azure/toolkit/intellij/springcloud/component

1 file changed

+1
-1
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-springcloud/src/main/java/com/microsoft/azure/toolkit/intellij/springcloud/component/SpringCloudAppComboBox.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ protected List<? extends SpringCloudApp> loadItems() {
8888
if (!this.draftItems.isEmpty()) {
8989
apps.addAll(this.draftItems.stream().filter(a -> a.getParent().getName().equals(this.cluster.getName())).toList());
9090
}
91-
apps.addAll(cluster.apps().list().stream().filter(a -> a.getFormalStatus().isConnected()).toList());
91+
apps.addAll(cluster.apps().list().stream().filter(a -> !a.getFormalStatus().isCreating()).toList());
9292
}
9393
return apps;
9494
}

0 commit comments

Comments
 (0)