Skip to content

Commit 670d946

Browse files
committed
BGP: Add default empty for BGP Configuration too
1 parent e37a9bd commit 670d946

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
@@ -235,6 +235,9 @@ function Get-AbrFgtRoute {
235235
if ($BGPSchema.PSObject.Properties.Name -contains $name) {
236236
#found the default value
237237
$default = $BGPSchema.$name.default
238+
if ($null -eq $default) {
239+
$default = ""
240+
}
238241
}
239242
$OutObj += [pscustomobject]@{
240243
"Name" = $name

0 commit comments

Comments
 (0)