Skip to content

Commit 5e98d57

Browse files
committed
bugfix: sql server and web app node listing duplicatedly.
1 parent 6f16305 commit 5e98d57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Utils/azure-explorer-common/src/com/microsoft/tooling/msservices/serviceexplorer/azure/sqlserver/SqlServerModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public SqlServerModule(final Node parent) {
3737
@Override
3838
protected void refreshItems() throws AzureCmdException {
3939
List<ISqlServer> servers = Azure.az(AzureSqlServer.class).sqlServers();
40-
servers.parallelStream()
40+
servers.stream()
4141
.filter(server -> Objects.nonNull(server.entity()))
4242
.map(server -> new SqlServerNode(this, server.entity().getSubscriptionId(), server))
4343
.forEach(this::addChildNode);

Utils/azure-explorer-common/src/com/microsoft/tooling/msservices/serviceexplorer/azure/webapp/WebAppModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public void run() {
104104

105105
@Override
106106
public void renderChildren(@NotNull final List<IWebApp> resourceExes) {
107-
resourceExes.parallelStream()
107+
resourceExes.stream()
108108
.filter(webApp -> StringUtils.isNotEmpty(webApp.id()))
109109
.map(webApp -> new WebAppNode(this, Utils.getSubscriptionId(webApp.id()), webApp))
110110
.forEach(this::addChildNode);

0 commit comments

Comments
 (0)