runtime: fix golint errors

Need to run gofmt -s on them.

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
Peng Tao 2020-09-27 20:23:17 +08:00 committed by Eric Ernst
parent d36d3486e9
commit b3e528443d
5 changed files with 30 additions and 30 deletions

View File

@ -68,10 +68,10 @@ func TestStatsSandbox(t *testing.T) {
StatsFunc: getSandboxCPUFunc(1000, 100000),
StatsContainerFunc: getStatsContainerCPUFunc(100, 200, 10000, 20000),
MockContainers: []*vcmock.Container{
&vcmock.Container{
{
MockID: "foo",
},
&vcmock.Container{
{
MockID: "bar",
},
},

View File

@ -36,7 +36,7 @@ var kernelParams = []Param{
{"net.ifnames", "0"},
}
var supportedQemuMachine = govmmQemu.Machine {
var supportedQemuMachine = govmmQemu.Machine{
Type: QemuPseries,
Options: defaultQemuMachineOptions,
}

View File

@ -36,7 +36,7 @@ var kernelParams = []Param{
var ccwbridge = types.NewBridge(types.CCW, "", make(map[uint32]string, types.CCWBridgeMaxCapacity), 0)
var supportedQemuMachine = govmmQemu.Machine {
var supportedQemuMachine = govmmQemu.Machine{
Type: QemuCCWVirtio,
Options: defaultQemuMachineOptions,
}