From da8eb2484dc788495c074ebc39fcb851cc149b05 Mon Sep 17 00:00:00 2001 From: "insanity@loafle.com" Date: Tue, 23 May 2017 14:46:23 +0900 Subject: [PATCH] rename Empty to Void --- task/rpc_impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task/rpc_impl.go b/task/rpc_impl.go index 1af447a..268d68a 100644 --- a/task/rpc_impl.go +++ b/task/rpc_impl.go @@ -10,7 +10,7 @@ import ( type TaskServerImpl struct { } -func (s *TaskServerImpl) requestTask(c context.Context, in *pb.Empty) (*pb.TaskList, error) { +func (s *TaskServerImpl) requestTask(c context.Context, in *commons.Void) (*pb.TaskList, error) { output := &pb.TaskList{}