Fix check mode support in win_group (#61977)

* Fix check mode support in win_group

* Fix copy/paste error
This commit is contained in:
Brian Scholer 2019-09-15 16:45:43 -04:00 committed by Jordan Borean
parent a0bec0bc32
commit d361ff4122

View file

@ -5,7 +5,7 @@
#Requires -Module Ansible.ModuleUtils.Legacy
$params = Parse-Args $args;
$params = Parse-Args $args -supports_check_mode $true
$check_mode = Get-AnsibleParam -obj $params -name "_ansible_check_mode" -type "bool" -default $false
$name = Get-AnsibleParam -obj $params -name "name" -type "str" -failifempty $true