Skip to content

Commit

Permalink
Merge pull request #168 from TehMuffinMoo/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
TehMuffinMoo authored Sep 17, 2024
2 parents cdf6fdd + a524622 commit 4abd0b2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
$Filters.Add($CustomFilters) | Out-Null
}
if ($FQDN) {
if ($Strict -and !($FQDN.EndsWith('.'))) { $FQDN += '.' }
$Filters.Add("fqdn$MatchType`"$FQDN`"") | Out-Null
}
if ($Type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
$Filters.Add($CustomFilters) | Out-Null
}
if ($FQDN) {
if ($Strict -and !($FQDN.EndsWith('.'))) { $FQDN += '.' }
$Filters.Add("fqdn$MatchType`"$FQDN`"") | Out-Null
}
if ($Disabled) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
$Filters.Add($CustomFilters) | Out-Null
}
if ($FQDN) {
if ($Strict -and !($FQDN.EndsWith('.'))) { $FQDN += '.' }
$Filters.Add("fqdn$MatchType`"$FQDN`"") | Out-Null
}
if ($Disabled) {
Expand Down
12 changes: 2 additions & 10 deletions Modules/ibPS/Functions/BloxOne/BloxOneDDI/Get-B1Record.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,11 @@
$Filters.Add("id==`"$id`"") | Out-Null
}
if ($FQDN) {
if ($Strict) {
if (!($FQDN.EndsWith("."))) {
$FQDN = "$FQDN."
}
}
if ($Strict -and !($FQDN.EndsWith('.'))) { $FQDN += '.' }
$Filters.Add("absolute_name_spec$MatchType`"$FQDN`"") | Out-Null
}
if ($Zone) {
if ($Strict) {
if (!($Zone.EndsWith("."))) {
$Zone = "$Zone."
}
}
if ($Strict -and !($Zone.EndsWith('.'))) { $Zone += '.' }
$Filters.Add("absolute_zone_name$MatchType`"$Zone`"") | Out-Null
}
if ($Compartment) {
Expand Down
6 changes: 3 additions & 3 deletions Modules/ibPS/Functions/Misc/build.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Build": "0",
"SHA": "abae0250d7047519e85e439083f328ff2ef137ce",
"Branch": "main"
"Build": 2,
"SHA": "7a890ac176526fbd1d2b0a2784070296b288b17c",
"Branch": "dev"
}
4 changes: 1 addition & 3 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
- Fix bug when using `-Query` parameter on `Get-B1DNSEvent`
- Fix bug when using `-Bootstrap` parameter on `Start-B1Export`
- Add the ability to pass the API Key via Environment Variables. [More information here](https://ibps.readthedocs.io/en/main/#environment-variable).
- Fix bug when using `-Strict` and `-FQDN` with `Get-B1AuthoritativeZone`, `Get-B1ForwardZone` & `Get-B1DelegatedZone` [#167](https://github.com/TehMuffinMoo/ibPS/issues/167)

0 comments on commit 4abd0b2

Please sign in to comment.