Fixed no snapshot found error mistype (#481)
Signed-off-by: Dan Acristinii <dan.acristinii@roche.com>
This commit is contained in:
1 parent
a62b0006b8
commit
3c961963f1
1 file changed
+1
-1
@@ -5128,7 +5128,7 @@ function Get-HVPoolProvisioningData {
|
||||
$snapshotList = $baseImageSnapshot_helper.BaseImageSnapshot_List($services,$parentVmObj.id)
|
||||
$snapshotVmObj = $snapshotList | Where-Object { $_.name -eq $snapshotVM }
|
||||
if ($null -eq $snapshotVmObj) {
|
||||
throw "No sanpshot found with Name: [$snapshotVM]"
|
||||
throw "No snapshot found with Name: [$snapshotVM]"
|
||||
}
|
||||
$vmObject.Snapshot = $snapshotVmObj.id
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user