win_reg_stat: Clean up parameter handling (#21380)

pull/21673/head
Dag Wieers 9 years ago committed by John R Barker
parent 958cbae7ba
commit 3c45c93d10

@ -20,13 +20,13 @@
$ErrorActionPreference = "Stop"
$params = Parse-Args $args -supports_check_mode $true
$key = Get-AnsibleParam $params "key" -FailIfEmpty $true
$property = Get-AnsibleParam $params "property" -FailIfEmpty $false -default $null
$key = Get-AnsibleParam -obj $params -name "key" -type "str" -failifempty $true
$property = Get-AnsibleParam -obj $params -name "property" -type "str"
$result = @{
win_reg_stat = @{}
changed = $false
warnings = @()
win_reg_stat = @{}
}
Function Get-NetHiveName($hive) {

Loading…
Cancel
Save