Skip to content

Commit 718cda4

Browse files
committed
Fix hashtable
1 parent 29aa5db commit 718cda4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

source/Classes/020.SqlRSSetup.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,11 @@ class SqlRSSetup : ResourceBase
253253

254254
if ($fileVersion)
255255
{
256-
$getTargetResourceResult = $this.GetCurrentState(@{
257-
InstanceName = $this.InstanceName
258-
})
256+
$keyProperties = @{
257+
InstanceName = $this.InstanceName
258+
}
259+
260+
$getTargetResourceResult = $this.GetCurrentState($keyProperties)
259261

260262
$installedVersion = [System.Version] $getTargetResourceResult.ProductVersion
261263

0 commit comments

Comments
 (0)