From 1374cabeabca3a8134e0d262bf61fabd2b00ae3d Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 2 Nov 2017 11:10:04 +0900 Subject: [PATCH] ing --- rpc/discovery_service.go | 2 +- rpc/rpc.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 rpc/rpc.go diff --git a/rpc/discovery_service.go b/rpc/discovery_service.go index cba92de..ec82d3f 100644 --- a/rpc/discovery_service.go +++ b/rpc/discovery_service.go @@ -19,7 +19,7 @@ type StartResponseParam struct { func (ds *DiscoveryService) Start(req *StartRequestParam, res *StartResponseParam) error { log.Printf("DiscoveryService.Start param: Name[%s] Count[%d]", req.Name, req.Count) - res.Result = 10 + res.Result = 10 + req.Count return nil } diff --git a/rpc/rpc.go b/rpc/rpc.go new file mode 100644 index 0000000..e69de29