Skip to content

Commit

Permalink
Add soft type to settings results
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanroie committed Oct 6, 2018
1 parent 456659e commit bc3264d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Public/Settings/Get-OPNsenseSetting.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ Function Get-OPNsenseSetting {
#if ($returntype) {
# Write-Verbose "Converting object to $returntype"
# return ConvertTo-OPNsenseObject -TypeName $returntype -InputObject $result
#} else {
return $result | Add-ObjectDetail -TypeName ('OPNsense.Settings.{0}.{1}' -f $Module, $Setting)
#}
return $result

}
END {
Expand Down

0 comments on commit bc3264d

Please sign in to comment.