Skip to content

Commit a9ce86b

Browse files
committed
Update VMware.CloudFoundation.InstanceRecovery.psm1
1 parent 210e11f commit a9ce86b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

VMware.CloudFoundation.InstanceRecovery.psm1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,11 +1129,16 @@ Function Update-ExtractdDataFromSDDCBackup {
11291129
Foreach ($vds in $cluster.vdsDetails) {
11301130
$vdsName = (Invoke-VcfGetVdses -ClusterId $cluster.id | Where-Object {$_.id -eq $vds.id}).Name
11311131
$vds.dvsName = $vdsName
1132+
11321133
}
1134+
Foreach ($vds in $cluster.vdsDetails) {
1135+
$vdsName = (Invoke-VcfGetVdses -ClusterId $cluster.id | Where-Object {$_.id -eq $vds.id}).Name
1136+
$vds.dvsName = $vdsName
11331137
}
11341138
}
1139+
}
11351140
LogMessage -type INFO -message "[$jumpboxName] Updating Extracted Data"
1136-
$extractedSddcData | ConvertTo-Json -Depth 10 | Out-File "$parentFolder\extracted-sddc-data.json"
1141+
$extractedSddcData | ConvertTo-Json -Depth 20 | Out-File $extractedSDDCDataFile
11371142
}
11381143
Export-ModuleMember -Function Update-ExtractdDataFromSDDCBackup
11391144
Function New-PrepareforPartialBringup {

0 commit comments

Comments
 (0)