From 19f9dea4a86a550108cae38437e919c6524e3e6d Mon Sep 17 00:00:00 2001 From: unclejack Date: Tue, 16 Jun 2015 12:26:27 +0300 Subject: [PATCH] gofmt to fix formatting Signed-off-by: Cristian Staretu --- cgroups/fs/apply_raw.go | 2 +- integration/checkpoint_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cgroups/fs/apply_raw.go b/cgroups/fs/apply_raw.go index b272182b..1b079870 100644 --- a/cgroups/fs/apply_raw.go +++ b/cgroups/fs/apply_raw.go @@ -29,7 +29,7 @@ var ( "perf_event": &PerfEventGroup{}, "freezer": &FreezerGroup{}, } - CgroupProcesses = "cgroup.procs" + CgroupProcesses = "cgroup.procs" HugePageSizes, _ = cgroups.GetHugePageSize() ) diff --git a/integration/checkpoint_test.go b/integration/checkpoint_test.go index 45400aee..512ea451 100644 --- a/integration/checkpoint_test.go +++ b/integration/checkpoint_test.go @@ -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 {