mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-10 02:41:30 +00:00
Appending "Registry::" is not needed and no longer works.
This commit is contained in:
@@ -31,8 +31,6 @@ $state = Get-Attr -obj $params -name "state" -validateSet "present","absent" -de
|
||||
$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"
|
||||
|
||||
$registryKey = "Registry::" + $registryKey
|
||||
|
||||
If ($state -eq "present" -and $registryData -eq $null -and $registryValue -ne $null)
|
||||
{
|
||||
Fail-Json $result "missing required argument: data"
|
||||
|
||||
Reference in New Issue
Block a user