File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/Cli/func/ConfigurationProfiles Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments