server: mock ExecResponse

This patch prevents k8s's e2e_node tests from killing CRI-O (because of
a panic in marshaling nil responses). This will ensure tests keep
running and just logging the failure.

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-04-06 16:37:11 +02:00
parent 4247f68764
commit 87e288d13a
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -7,5 +7,5 @@ import (
// Exec prepares a streaming endpoint to execute a command in the container.
func (s *Server) Exec(ctx context.Context, req *pb.ExecRequest) (*pb.ExecResponse, error) {
return nil, nil
return &pb.ExecResponse{}, nil
}