From 019afb56ff338ff0fa50fe2bd6053a28bcb66fbc Mon Sep 17 00:00:00 2001 From: Marko Bozikovic Date: Tue, 19 Sep 2017 15:39:45 +0100 Subject: [PATCH] [#570] Fixed a logic bug --- .../MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1 b/DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1 index d6e07283d..f2df4cc18 100644 --- a/DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1 +++ b/DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1 @@ -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') }