mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
gofmt to fix formatting
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ var (
|
||||
"perf_event": &PerfEventGroup{},
|
||||
"freezer": &FreezerGroup{},
|
||||
}
|
||||
CgroupProcesses = "cgroup.procs"
|
||||
CgroupProcesses = "cgroup.procs"
|
||||
HugePageSizes, _ = cgroups.GetHugePageSize()
|
||||
)
|
||||
|
||||
|
||||
@@ -48,9 +48,9 @@ func TestCheckpoint(t *testing.T) {
|
||||
var stdout bytes.Buffer
|
||||
|
||||
pconfig := libcontainer.Process{
|
||||
Args: []string{"cat"},
|
||||
Env: standardEnvironment,
|
||||
Stdin: stdinR,
|
||||
Args: []string{"cat"},
|
||||
Env: standardEnvironment,
|
||||
Stdin: stdinR,
|
||||
Stdout: &stdout,
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ func TestCheckpoint(t *testing.T) {
|
||||
|
||||
checkpointOpts := &libcontainer.CriuOpts{
|
||||
ImagesDirectory: imagesDir,
|
||||
WorkDirectory: imagesDir,
|
||||
WorkDirectory: imagesDir,
|
||||
}
|
||||
|
||||
if err := container.Checkpoint(checkpointOpts); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user