From 613edd5195156abca54c46202b61fb296849e8d3 Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Wed, 6 Mar 2019 10:31:25 +0100 Subject: [PATCH] s390x: fix golint complain Changed capital letter of VirtioSerialCCW to avoid golint complain Fixes : #1327 Signed-off-by: Alice Frosi --- virtcontainers/qemu_s390x.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virtcontainers/qemu_s390x.go b/virtcontainers/qemu_s390x.go index e3dc14b573..46058fc3fd 100644 --- a/virtcontainers/qemu_s390x.go +++ b/virtcontainers/qemu_s390x.go @@ -23,7 +23,7 @@ const defaultQemuMachineType = QemuCCWVirtio const defaultQemuMachineOptions = "accel=kvm" -const VirtioSerialCCW = "virtio-serial-ccw" +const virtioSerialCCW = "virtio-serial-ccw" var qemuPaths = map[string]string{ QemuCCWVirtio: defaultQemuPath, @@ -89,7 +89,7 @@ func (q *qemuS390x) appendBridges(devices []govmmQemu.Device, bridges []types.PC // The function has been overwriten to correctly set the driver to the CCW device func (q *qemuS390x) appendConsole(devices []govmmQemu.Device, path string) []govmmQemu.Device { serial := govmmQemu.SerialDevice{ - Driver: VirtioSerialCCW, + Driver: virtioSerialCCW, ID: "serial0", DisableModern: q.nestedRun, }