1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Appending "Registry::" is not needed and no longer works.

This commit is contained in:
Adam Keech 2015-11-25 11:41:02 -05:00 committed by Matt Clay
parent af12e6d3a3
commit 28baed011d

View file

@ -31,8 +31,6 @@ $state = Get-Attr -obj $params -name "state" -validateSet "present","absent" -de
$registryData = Get-Attr -obj $params -name "data" -default $null $registryData = Get-Attr -obj $params -name "data" -default $null
$registryDataType = Get-Attr -obj $params -name "datatype" -validateSet "binary","dword","expandstring","multistring","string","qword" -default "string" $registryDataType = Get-Attr -obj $params -name "datatype" -validateSet "binary","dword","expandstring","multistring","string","qword" -default "string"
$registryKey = "Registry::" + $registryKey
If ($state -eq "present" -and $registryData -eq $null -and $registryValue -ne $null) If ($state -eq "present" -and $registryData -eq $null -and $registryValue -ne $null)
{ {
Fail-Json $result "missing required argument: data" Fail-Json $result "missing required argument: data"