server/sandbox: return id after creation

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-09-22 18:18:58 +02:00
parent 569183030f
commit 97f5f809a4
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -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