summaryrefslogtreecommitdiff
path: root/pkg/machine/qemu
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2022-04-27 15:16:25 -0500
committerMatthew Heon <matthew.heon@pm.me>2022-05-03 13:34:25 -0400
commitb1089a23bc85759d1ac9319d1816c999980d8231 (patch)
tree746cf922239f79413a8439d57cce596a486f0885 /pkg/machine/qemu
parent4ff6884fb85d8a95f5a90848e92c3ff9ea6bcf57 (diff)
downloadpodman-b1089a23bc85759d1ac9319d1816c999980d8231.tar.gz
podman-b1089a23bc85759d1ac9319d1816c999980d8231.tar.bz2
podman-b1089a23bc85759d1ac9319d1816c999980d8231.zip
Produce better test error messages
As Ed has pointed out, the form of Expect(session).To(Exit(0)) provides much better error messages. Let's make Ed happy. Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/machine/qemu')
-rw-r--r--pkg/machine/qemu/machine.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go
index 091c9f8d1..ccfad90f7 100644
--- a/pkg/machine/qemu/machine.go
+++ b/pkg/machine/qemu/machine.go
@@ -1466,7 +1466,7 @@ func (v *MachineVM) getIgnitionFile() string {
return v.IgnitionFilePath.GetPath()
}
-//resizeDisk increases the size of the machine's disk in GB.
+// resizeDisk increases the size of the machine's disk in GB.
func (v *MachineVM) resizeDisk(diskSize uint64, oldSize uint64) error {
// Resize the disk image to input disk size
// only if the virtualdisk size is less than