Skip to content

Commit

Permalink
More verbose logging for storage accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
bb-froggy committed Mar 8, 2024
1 parent ca2c9af commit 4572a3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SCEPman/Private/storage-account.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ function SetTableStorageEndpointsInScAndCmAppSettings ($SubscriptionId, $SCEPman
$existingTableStorageEndpointSettingSc = GetSCEPmanStorageAccountConfig -ResourceGroup $SCEPmanResourceGroup -AppServiceName $SCEPmanAppServiceName -DeploymentSlotName $DeploymentSlotName
if(![string]::IsNullOrEmpty($existingTableStorageEndpointSettingSc)) {
$storageAccountTableEndpoint = $existingTableStorageEndpointSettingSc.Trim('"')
Write-Verbose "Found existing storage account table endpoint in SCEPman's app settings"
}

if ($null -ne $CertMasterAppServiceName) {
Expand All @@ -99,6 +100,7 @@ function SetTableStorageEndpointsInScAndCmAppSettings ($SubscriptionId, $SCEPman

if([string]::IsNullOrEmpty($storageAccountTableEndpoint) -and ![string]::IsNullOrEmpty($existingTableStorageEndpointSettingCm)) {
$storageAccountTableEndpoint = $existingTableStorageEndpointSettingCm.Trim('"')
Write-Verbose "Found existing storage account table endpoint in CertMaster's app settings"
}
}

Expand Down

0 comments on commit 4572a3b

Please sign in to comment.