Ensure state is present if no value provided

pull/7861/head
Paul Durivage 11 years ago committed by Matt Martz
parent ba4b2d04d9
commit af0bcb354d

@ -58,6 +58,9 @@ Elseif ($state -eq "absent") {
Fail-Json $_.Exception.Message Fail-Json $_.Exception.Message
} }
} }
Else {
$state = "present"
}
$feature_results = @() $feature_results = @()
ForEach ($item in $result.FeatureResult) { ForEach ($item in $result.FeatureResult) {

Loading…
Cancel
Save