From 30b526376aea61df2006abd7c350ef27d116ac1d Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Mon, 12 Sep 2016 14:43:16 -0700 Subject: [PATCH] Fix error message Signed-off-by: Mrunal Patel --- server/runtime.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/runtime.go b/server/runtime.go index dc936d82..708b316a 100644 --- a/server/runtime.go +++ b/server/runtime.go @@ -561,7 +561,7 @@ func (s *Server) StartContainer(ctx context.Context, req *pb.StartContainerReque containerName := req.ContainerId if *containerName == "" { - return nil, fmt.Errorf("PodSandboxId should not be empty") + return nil, fmt.Errorf("container ID should not be empty") } c := s.state.containers[*containerName] if c == nil { @@ -580,7 +580,7 @@ func (s *Server) StopContainer(ctx context.Context, req *pb.StopContainerRequest containerName := req.ContainerId if *containerName == "" { - return nil, fmt.Errorf("PodSandboxId should not be empty") + return nil, fmt.Errorf("container ID should not be empty") } c := s.state.containers[*containerName] if c == nil { @@ -600,7 +600,7 @@ func (s *Server) RemoveContainer(ctx context.Context, req *pb.RemoveContainerReq containerName := req.ContainerId if *containerName == "" { - return nil, fmt.Errorf("PodSandboxId should not be empty") + return nil, fmt.Errorf("container ID should not be empty") } c := s.state.containers[*containerName] if c == nil {