Skip to content

Commit d9fd50c

Browse files
#1951796: [Test] App instance name shows wrong for streaming log of spring apps
1 parent b22643d commit d9fd50c

File tree

1 file changed

+2
-2
lines changed
  • PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.springcloud/src/main/java/com/microsoft/azure/toolkit/eclipse/springcloud/streaminglog

1 file changed

+2
-2
lines changed

PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.springcloud/src/main/java/com/microsoft/azure/toolkit/eclipse/springcloud/streaminglog/SpringCloudDeploymentComboBox.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ protected List<? extends DeploymentInstance> loadItems() {
4545

4646
@Override
4747
protected String getItemText(Object item) {
48-
return item instanceof SpringCloudDeploymentInstanceEntity
49-
? ((SpringCloudDeploymentInstanceEntity) item).getName()
48+
return item instanceof DeploymentInstance
49+
? ((DeploymentInstance) item).name()
5050
: super.getItemText(item);
5151
}
5252

0 commit comments

Comments
 (0)