Skip to content

Commit

Permalink
With PR changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
KavishreeShanmugam11 committed Feb 8, 2024
1 parent 2a68e42 commit cb0b6d1
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -136,7 +136,8 @@ function Restore-CohesityOracleDatabase {

if ($snapshotResult -and $snapshotResult.totalCount -ne 0) {
$snapshotDetail = $null
$snapshotDetail = $snapshotResult.objectSnapshotInfo | Where-Object {$_.SnapshottedSource.ParentId -eq $SourceId -and $_.SnapshottedSource.name -eq $SourceDatabaseName}
$snapshotDetail = $snapshotResult.objectSnapshotInfo | Where-Object {$_.SnapshottedSource.ParentId -eq
$SourceId -and $_.SnapshottedSource.name -eq $SourceDatabaseName}

if ($null -ne $snapshotDetail){
if (-not $JobRunId){
Expand Down

0 comments on commit cb0b6d1

Please sign in to comment.