From cd9bfca26f9c7fe06ce245f5bf69bc6486a685dd Mon Sep 17 00:00:00 2001 From: Ahmed ElSayed Date: Fri, 7 Jun 2019 16:05:32 -0700 Subject: [PATCH] Only mount squashfs --- .../Actions/AzureActions/PublishFunctionAppAction.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs b/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs index e011a51b0..e56536162 100644 --- a/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs +++ b/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs @@ -371,7 +371,7 @@ private async Task PublishRunFromPackage(Site functionApp, Stream packageStream, ColoredConsole.WriteLine("Upload completed successfully."); // Set app setting - await SetRunFromPackageAppSetting(functionApp, sas); + await SetRunFromPackageAppSetting(functionApp, sas, enableMount: fileName.EndsWith("squashfs")); ColoredConsole.WriteLine("Deployment completed successfully."); } @@ -429,7 +429,7 @@ private async Task WaitForAppSettingUpdateSCM(Site functionApp, IDictionary