mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-04 01:30:09 +00:00
runtime: fix golint errors
Need to run gofmt -s on them. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
parent
daf2a54dc8
commit
5611283ec5
@ -68,10 +68,10 @@ func TestStatsSandbox(t *testing.T) {
|
|||||||
StatsFunc: getSandboxCPUFunc(1000, 100000),
|
StatsFunc: getSandboxCPUFunc(1000, 100000),
|
||||||
StatsContainerFunc: getStatsContainerCPUFunc(100, 200, 10000, 20000),
|
StatsContainerFunc: getStatsContainerCPUFunc(100, 200, 10000, 20000),
|
||||||
MockContainers: []*vcmock.Container{
|
MockContainers: []*vcmock.Container{
|
||||||
&vcmock.Container{
|
{
|
||||||
MockID: "foo",
|
MockID: "foo",
|
||||||
},
|
},
|
||||||
&vcmock.Container{
|
{
|
||||||
MockID: "bar",
|
MockID: "bar",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -36,7 +36,7 @@ var kernelParams = []Param{
|
|||||||
{"net.ifnames", "0"},
|
{"net.ifnames", "0"},
|
||||||
}
|
}
|
||||||
|
|
||||||
var supportedQemuMachine = govmmQemu.Machine {
|
var supportedQemuMachine = govmmQemu.Machine{
|
||||||
Type: QemuPseries,
|
Type: QemuPseries,
|
||||||
Options: defaultQemuMachineOptions,
|
Options: defaultQemuMachineOptions,
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ var kernelParams = []Param{
|
|||||||
|
|
||||||
var ccwbridge = types.NewBridge(types.CCW, "", make(map[uint32]string, types.CCWBridgeMaxCapacity), 0)
|
var ccwbridge = types.NewBridge(types.CCW, "", make(map[uint32]string, types.CCWBridgeMaxCapacity), 0)
|
||||||
|
|
||||||
var supportedQemuMachine = govmmQemu.Machine {
|
var supportedQemuMachine = govmmQemu.Machine{
|
||||||
Type: QemuCCWVirtio,
|
Type: QemuCCWVirtio,
|
||||||
Options: defaultQemuMachineOptions,
|
Options: defaultQemuMachineOptions,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user