Skip to content

Commit 11b1e69

Browse files
author
Rival Abdrakhmanov
committed
Fix aspire run profiles for the new aspire plugin api
1 parent 2912282 commit 11b1e69

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

PluginsAndFeatures/azure-toolkit-for-rider/azure-intellij-plugin-appservice-dotnet-aspire/src/main/kotlin/com/microsoft/azure/toolkit/intellij/aspire/FunctionProjectSessionDebugProfile.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ import java.nio.file.Path
1717
import javax.swing.Icon
1818

1919
class FunctionProjectSessionDebugProfile(
20-
private val sessionId: String,
20+
sessionId: String,
2121
projectPath: Path,
2222
dotnetExecutable: DotNetExecutable,
2323
private val dotnetRuntime: DotNetCoreRuntime,
2424
private val sessionProcessEventListener: ProcessListener,
2525
private val sessionProcessLifetime: Lifetime,
2626
aspireHostProjectPath: Path?
27-
) : ProjectSessionProfile(projectPath, dotnetExecutable, aspireHostProjectPath, true) {
27+
) : ProjectSessionProfile(sessionId, projectPath, dotnetExecutable, aspireHostProjectPath, true) {
2828

2929
override fun getIcon(): Icon = IntelliJAzureIcons.getIcon(AzureIcons.FunctionApp.RUN)
3030

PluginsAndFeatures/azure-toolkit-for-rider/azure-intellij-plugin-appservice-dotnet-aspire/src/main/kotlin/com/microsoft/azure/toolkit/intellij/aspire/FunctionProjectSessionRunProfile.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ import java.nio.file.Path
1818
import javax.swing.Icon
1919

2020
class FunctionProjectSessionRunProfile(
21-
private val sessionId: String,
21+
sessionId: String,
2222
projectPath: Path,
2323
dotnetExecutable: DotNetExecutable,
2424
private val dotnetRuntime: DotNetCoreRuntime,
2525
private val sessionProcessEventListener: ProcessListener,
2626
private val sessionProcessLifetime: Lifetime,
2727
aspireHostProjectPath: Path?
28-
) : ProjectSessionProfile(projectPath, dotnetExecutable, aspireHostProjectPath, false) {
28+
) : ProjectSessionProfile(sessionId, projectPath, dotnetExecutable, aspireHostProjectPath, false) {
2929

3030
override fun getIcon(): Icon = IntelliJAzureIcons.getIcon(AzureIcons.FunctionApp.RUN)
3131

0 commit comments

Comments
 (0)