From 97f5f809a4a094069404bc3148f38ef325c5ae2a Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Thu, 22 Sep 2016 18:18:58 +0200 Subject: [PATCH] server/sandbox: return id after creation Signed-off-by: Antonio Murdaca --- server/sandbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sandbox.go b/server/sandbox.go index f9d30e81..d66d6ee7 100644 --- a/server/sandbox.go +++ b/server/sandbox.go @@ -219,7 +219,7 @@ func (s *Server) CreatePodSandbox(ctx context.Context, req *pb.CreatePodSandboxR return nil, err } - return &pb.CreatePodSandboxResponse{PodSandboxId: &name}, nil + return &pb.CreatePodSandboxResponse{PodSandboxId: &id}, nil } // StopPodSandbox stops the sandbox. If there are any running containers in the