Skip to content

Commit

Permalink
Fixed error in packaging script which prevented account key being set…
Browse files Browse the repository at this point in the history
… for

ELMAH logging
  • Loading branch information
analogrelay authored and Tim Lovell-Smith committed Nov 7, 2012
1 parent 6575f27 commit fd5e859
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Scripts/Package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ function set-cacheserviceaccesskey {
function enable-azureElmah {
param($path)
$connectionString = "";
if($azureDiagStorageAccountName -and $azureDiagStorageAccountKey) {
$connectionString = "DefaultEndpointsProtocol=https;AccountName=$azureDiagStorageAccountName;AccountKey=$azureDiagStorageAccountKey";
} elseif($UseEmulator) {
if(!$UseEmulator) {
$connectionString = "DefaultEndpointsProtocol=https;AccountName=$azureDiagStorageAccountName;AccountKey=$azureDiagStorageAccessKey";
} else {
$connectionString = "UseDevelopmentStorage=true";
}

Expand Down

0 comments on commit fd5e859

Please sign in to comment.