Skip to content

Commit 4f609f3

Browse files
committed
BGP: Add default empty for BGP Configuration too
1 parent f90b789 commit 4f609f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Src/Private/Get-AbrFgtRoute.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ function Get-AbrFgtRoute {
238238
if ($BGPSchema.PSObject.Properties.Name -contains $name) {
239239
#found the default value
240240
$default = $BGPSchema.$name.default
241+
if ($null -eq $default) {
242+
$default = ""
243+
}
241244
}
242245
$OutObj += [pscustomobject]@{
243246
"Name" = $name

0 commit comments

Comments
 (0)