From fa62560a98385d3182b48d18f78cb946a447061c Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 2 Nov 2017 20:11:30 +0900 Subject: [PATCH] ing --- rpc/discovery_service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/discovery_service.go b/rpc/discovery_service.go index 5de5024..f1f0f68 100644 --- a/rpc/discovery_service.go +++ b/rpc/discovery_service.go @@ -16,7 +16,7 @@ type StartResponseParam struct { Result int } -func (ds *DiscoveryService) Start(req StartRequestParam) (*StartResponseParam, error) { +func (ds *DiscoveryService) Start(req *StartRequestParam) (*StartResponseParam, error) { log.Printf("DiscoveryService.Start param: Name[%s] Count[%d]", req.Name, req.Count) res := &StartResponseParam{} @@ -25,7 +25,7 @@ func (ds *DiscoveryService) Start(req StartRequestParam) (*StartResponseParam, e return res, nil } -func (ds *DiscoveryService) Discovery(name string, req StartRequestParam) error { +func (ds *DiscoveryService) Discovery(name string, req *StartRequestParam) error { log.Printf("DiscoveryService.Discovery param: Name[%s] req[%v]", name, req) return nil