Skip to content

Commit

Permalink
Fix bug with Start-B1Export and -Bootstrap parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
TehMuffinMoo committed Sep 6, 2024
1 parent 05a93de commit f90b881
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
$dataTypes += (Build-BulkExportTypes -Types 'atcapi').DataType ## Threat Defense Types
}
if ($Bootstrap -or $BackupAll) {
$dataTypes += (Build-BulkExportTypes -Types 'bootstrap').DataType | Out-Null ## Bootstrap / Host Config
$dataTypes += (Build-BulkExportTypes -Types 'bootstrap').DataType ## Bootstrap / Host Config
}
if ($B1Hosts -or $BackupAll) {
$dataTypes += (Build-BulkExportTypes -Types 'hosts').DataType ## B1 Host Config / Host Config
Expand Down
2 changes: 1 addition & 1 deletion Modules/ibPS/Functions/Misc/Misc.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ function Build-BulkExportTypes {
)

if (-not $Script:B1BulkExportTypes) {
$Script:B1BulkExportTypes = Invoke-CSP -Method GET -Uri 'https://csp.infoblox.com/bulk/v1/types' | Select-Object -ExpandProperty results
$Script:B1BulkExportTypes = Invoke-CSP -Method GET -Uri "$(Get-B1CSPUrl)/bulk/v1/types" | Select-Object -ExpandProperty results
}

$ReturnProperties = @{
Expand Down
3 changes: 2 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- Fix bug when using `-Query` parameter on `Get-B1DNSEvent`
- Fix bug when using `-Query` parameter on `Get-B1DNSEvent`
- Fix bug when using `-Bootstrap` parameter on `Start-B1Export`

0 comments on commit f90b881

Please sign in to comment.