From 6d5f75e1180233ce4bbdfc52c0946e49eee3c8ef Mon Sep 17 00:00:00 2001 From: Patrick Lang Date: Wed, 25 Oct 2017 21:47:14 -0700 Subject: [PATCH] run gofmt --- common/powershell/hyperv/hyperv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/powershell/hyperv/hyperv.go b/common/powershell/hyperv/hyperv.go index fd32d75a6..f34004f60 100644 --- a/common/powershell/hyperv/hyperv.go +++ b/common/powershell/hyperv/hyperv.go @@ -205,7 +205,7 @@ if ($harddrivePath){ if err := ps.Run(script, vmName, path, harddrivePath, vhdRoot, strconv.FormatInt(ram, 10), strconv.FormatInt(diskSize, 10), switchName, strconv.FormatInt(int64(generation), 10)); err != nil { return err } - + return DisableAutomaticCheckpoints(vmName) } else { var script = `