Ensure state is present if no value provided

This commit is contained in:
Paul Durivage 2014-06-19 10:26:59 -05:00 committed by Matt Martz
parent 03526456fa
commit c83e5d0890

View file

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