From 5475f6b32bfde052d3c544fb6dcfadba34f9e89c Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Fri, 23 Sep 2016 15:06:12 -0700 Subject: [PATCH] Fix lint error Signed-off-by: Mrunal Patel --- server/sandbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sandbox.go b/server/sandbox.go index fb2ac3b2..e762b5d5 100644 --- a/server/sandbox.go +++ b/server/sandbox.go @@ -182,7 +182,7 @@ func (s *Server) CreatePodSandbox(ctx context.Context, req *pb.CreatePodSandboxR if _, err = os.Stat(podInfraRootfs); err != nil { if os.IsNotExist(err) { // TODO: Replace by rootfs creation API when it is ready - if err := utils.CreateFakeRootfs(podInfraRootfs, "docker://kubernetes/pause"); err != nil { + if err = utils.CreateFakeRootfs(podInfraRootfs, "docker://kubernetes/pause"); err != nil { return nil, err } } else {