Ensure state is present if no value provided
This commit is contained in:
parent
03526456fa
commit
c83e5d0890
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ Elseif ($state -eq "absent") {
|
|||
Fail-Json $_.Exception.Message
|
||||
}
|
||||
}
|
||||
Else {
|
||||
$state = "present"
|
||||
}
|
||||
|
||||
$feature_results = @()
|
||||
ForEach ($item in $result.FeatureResult) {
|
||||
|
|
Loading…
Reference in a new issue