Skip to content

Commit

Permalink
Durable Functions: Modified storage conn name (projectkudu#2753)
Browse files Browse the repository at this point in the history
  • Loading branch information
tohling authored and davidebbo committed Apr 25, 2018
1 parent 67d48c3 commit 752ffdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Common/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public static TimeSpan MaxAllowedExecutionTime
public const string AzureWebJobsSecretStorageType = "AzureWebJobsSecretStorageType";
public const string HubName = "HubName";
public const string DurableTaskStorageConnection = "connection";
public const string DurableTaskStorageConnectionName = "azureStorageConnectionStringName";
public const string DurableTask = "durableTask";
public const string SitePackages = "SitePackages";
public const string SiteVersionTxt = "siteversion.txt";
Expand Down
2 changes: 1 addition & 1 deletion Kudu.Core/Helpers/PostDeploymentHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ private static void ReadDurableConfig(string hostConfigPath, out Dictionary<stri
config.Add(Constants.HubName, nameValue.ToString());
}

if (kvp.TryGetValue(Constants.DurableTaskStorageConnection, StringComparison.OrdinalIgnoreCase, out nameValue) && nameValue != null)
if (kvp.TryGetValue(Constants.DurableTaskStorageConnectionName, StringComparison.OrdinalIgnoreCase, out nameValue) && nameValue != null)
{
config.Add(Constants.DurableTaskStorageConnection, nameValue.ToString());
}
Expand Down

0 comments on commit 752ffdb

Please sign in to comment.