Merge pull request #9910 from TonyApuzzo/fix-set_vm_integration_services

Fix: Correct  typo in hyperv provider, $Enable instead of $enabled
This commit is contained in:
Chris Roberts 2018-06-08 15:56:39 -07:00 committed by GitHub
commit 6645b7b906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@ try {
}
try {
Set-VagrantVMService -VM $VM -Name $Name -Enable $enabled
Set-VagrantVMService -VM $VM -Name $Name -Enable $Enable
} catch {
if($enabled){ $action = "enable" } else { $action = "disable" }
if($Enable){ $action = "enable" } else { $action = "disable" }
Write-Error-Message "Failed to ${action} VM integration service ${Name}: ${PSItem}"
exit 1
}