mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-11 04:42:16 +00:00
s390x: fix golint complain
Changed capital letter of VirtioSerialCCW to avoid golint complain Fixes : #1327 Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
This commit is contained in:
parent
c986a08ad9
commit
613edd5195
@ -23,7 +23,7 @@ const defaultQemuMachineType = QemuCCWVirtio
|
|||||||
|
|
||||||
const defaultQemuMachineOptions = "accel=kvm"
|
const defaultQemuMachineOptions = "accel=kvm"
|
||||||
|
|
||||||
const VirtioSerialCCW = "virtio-serial-ccw"
|
const virtioSerialCCW = "virtio-serial-ccw"
|
||||||
|
|
||||||
var qemuPaths = map[string]string{
|
var qemuPaths = map[string]string{
|
||||||
QemuCCWVirtio: defaultQemuPath,
|
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
|
// 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 {
|
func (q *qemuS390x) appendConsole(devices []govmmQemu.Device, path string) []govmmQemu.Device {
|
||||||
serial := govmmQemu.SerialDevice{
|
serial := govmmQemu.SerialDevice{
|
||||||
Driver: VirtioSerialCCW,
|
Driver: virtioSerialCCW,
|
||||||
ID: "serial0",
|
ID: "serial0",
|
||||||
DisableModern: q.nestedRun,
|
DisableModern: q.nestedRun,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user