Skip to content

Commit fc279cb

Browse files
Merge pull request #6282 from microsoft/fix-configuration-factory-id
[Issue #1904838] Add getId for DockerHostRunConfigurationFactory to replace the deprecated implementation
2 parents 9400fd2 + 6b5c122 commit fc279cb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/azure/toolkit/intellij/docker/dockerhost/DockerHostRunConfigurationFactory.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
import com.microsoft.azure.toolkit.intellij.docker.AzureDockerSupportConfigurationType;
1414
import com.microsoft.tooling.msservices.serviceexplorer.AzureIconSymbol;
15+
import org.jetbrains.annotations.NonNls;
1516
import org.jetbrains.annotations.NotNull;
1617

1718
import javax.swing.Icon;
@@ -43,4 +44,9 @@ public RunConfiguration createConfiguration(String name, RunConfiguration templa
4344
public Icon getIcon() {
4445
return AzureIcons.getIcon(AzureIconSymbol.DockerSupport.RUN.getPath());
4546
}
47+
48+
@Override
49+
public @NotNull @NonNls String getId() {
50+
return FACTORY_NAME;
51+
}
4652
}

0 commit comments

Comments
 (0)