Skip to content

Commit

Permalink
[dsccommunity#570] Fixed a logic bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bozho authored and johlju committed Sep 22, 2017
1 parent c0e608c commit 019afb5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,13 @@ function Set-TargetResource
New-VerboseMessage -Message "Initializing Reporting Services on $RSSQLServer\$RSSQLInstanceName."

# If no Report Server reserved URLs have been specified, use the default one.
if ( $null -ne $ReportServerReservedUrl )
if ( $null -eq $ReportServerReservedUrl )
{
$ReportServerReservedUrl = @('http://+:80')
}

# If no Report Manager/Report Web App reserved URLs have been specified, use the default one.
if ( $null -ne $ReportsReservedUrl )
if ( $null -eq $ReportsReservedUrl )
{
$ReportsReservedUrl = @('http://+:80')
}
Expand Down

0 comments on commit 019afb5

Please sign in to comment.