Skip to content

Commit f682a87

Browse files
committed
Update interface
1 parent 279bae9 commit f682a87

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/Cli/func/ConfigurationProfiles/IConfigurationProfile.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ internal interface IConfigurationProfile
1515
/// <summary>
1616
/// Applies the profile by generating necessary configuration artifacts.
1717
/// </summary>
18-
internal Task ApplyAsync(WorkerRuntime runtime, bool shouldForce = false);
18+
/// <param name="runtime">The worker runtime of the function app.</param>
19+
/// <param name="force">If true, forces overwriting existing configurations.</param>
20+
internal Task ApplyAsync(WorkerRuntime runtime, bool force = false);
1921
}
2022
}

src/Cli/func/ConfigurationProfiles/McpCustomHandlerConfigurationProfile.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ internal class McpCustomHandlerConfigurationProfile : IConfigurationProfile
1616

1717
public string Name { get; } = "mcp-custom-handler";
1818

19-
public async Task ApplyAsync(WorkerRuntime workerRuntime, bool shouldForce = false)
19+
public async Task ApplyAsync(WorkerRuntime workerRuntime, bool force = false)
2020
{
21-
await ApplyHostJsonAsync(shouldForce);
22-
await ApplyLocalSettingsAsync(workerRuntime, shouldForce);
21+
await ApplyHostJsonAsync(force);
22+
await ApplyLocalSettingsAsync(workerRuntime, force);
2323
}
2424

2525
public async Task ApplyHostJsonAsync(bool force)

0 commit comments

Comments
 (0)