Skip to content

Commit da18485

Browse files
authored
Merge pull request #13 from PureStorage-OpenConnect/ayun
Refresh VMFS VMDK with Snapshot Demo script update
2 parents 6eded6b + 5585519 commit da18485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demos-sdk2/VMFS-VMDK Snapshot/VMFS-VMDK Snapshot.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ $FirstSnapStatus = Get-Pfa2ProtectionGroupSnapshotTransfer -Array $FlashArray -N
125125

126126
if ($FirstSnapStatus.completed -ne $null) { # If $FirstSnapStatus.completed, then it hasn't been fully replicated
127127
$MostRecentSnapshot = $MostRecentSnapshots[0].name
128-
}
129-
else {
128+
} else {
130129
# Use prior snapshot instead
131130
$MostRecentSnapshot = $MostRecentSnapshots[1].name
132131
}
@@ -279,3 +278,4 @@ Remove-Pfa2Volume -Array $FlashArray -Name $NewClonedVolumeName
279278
# Clean up
280279
Remove-PSSession $TargetVMSession
281280

281+

0 commit comments

Comments
 (0)