From 8b927a96748dc4d3b3774ed82afd16585dfce40a Mon Sep 17 00:00:00 2001 From: Naren Soni Date: Tue, 26 Jan 2021 15:18:02 -0800 Subject: [PATCH] Skip external config validation if RuntimeDrivenScaling is enabled in Elastic Premium (#7085) --- release_notes.md | 1 + src/WebJobs.Script/ScriptHostBuilderExtensions.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/release_notes.md b/release_notes.md index 1bbf9716c1..1a0ff7e7a2 100644 --- a/release_notes.md +++ b/release_notes.md @@ -11,6 +11,7 @@ - Updated [System.Data.SqlClient to 4.8.2](https://www.nuget.org/packages/System.Data.SqlClient/4.8.2) - Added direct refereces to [System.IO.Pipes](https://www.nuget.org/packages/System.IO.Pipes/4.3.0) and [System.Threading.Overlapped](https://www.nuget.org/packages/System.Threading.Overlapped/4.3.0) to ensure System.Data.SqlClient package update does not impact unification - Updated Java Worker Version to [1.8.2-SNAPSHOT](https://github.com/Azure/azure-functions-java-worker/releases/tag/1.8.2-SNAPSHOT) +- Skip external config validation if RuntimeDrivenScaling is enabled in Elastic Premium sku (#6542) **Release sprint:** Sprint 89, 90, 91 [ [bugs](https://github.com/Azure/azure-functions-host/issues?q=is%3Aissue+milestone%3A%22Functions+Sprint+89%22+label%3Abug+is%3Aclosed) | [features](https://github.com/Azure/azure-functions-host/issues?q=is%3Aissue+milestone%3A%22Functions+Sprint+89%22+label%3Afeature+is%3Aclosed) ] diff --git a/src/WebJobs.Script/ScriptHostBuilderExtensions.cs b/src/WebJobs.Script/ScriptHostBuilderExtensions.cs index db350f6961..5b09ad2d14 100644 --- a/src/WebJobs.Script/ScriptHostBuilderExtensions.cs +++ b/src/WebJobs.Script/ScriptHostBuilderExtensions.cs @@ -159,7 +159,7 @@ public static IHostBuilder AddScriptHostCore(this IHostBuilder builder, ScriptAp // Including Core Tools as a warning during development time. if (environment.IsWindowsConsumption() || environment.IsLinuxConsumption() || - environment.IsWindowsElasticPremium() || + (environment.IsWindowsElasticPremium() && !environment.IsRuntimeScaleMonitoringEnabled()) || environment.IsCoreTools()) { var validator = s.GetService();