summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/grpc_server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go
index a97e5b65..135546b5 100644
--- a/api/grpc_server.go
+++ b/api/grpc_server.go
@@ -69,7 +69,7 @@ func (s *Server) Serve() error {
serve := func(host string) {
defer wg.Done()
- lis, err := net.Listen("tcp", fmt.Sprintf(host))
+ lis, err := net.Listen("tcp", host)
if err != nil {
log.WithFields(log.Fields{
"Topic": "grpc",