diff options
author | Jeff Bean <jeffreyrobertbean@gmail.com> | 2018-06-14 08:24:14 -0700 |
---|---|---|
committer | Jeff Bean <jeffreyrobertbean@gmail.com> | 2018-06-14 08:25:20 -0700 |
commit | b73933c4b20e15f468944edd7012a7cc90adf0e7 (patch) | |
tree | 12eea924430fce2ac2c0921fdf013ccec02d662e /api | |
parent | 0d64c69d136d6a49a11c820604ba1dde0cd60799 (diff) |
simple staticcheck issues
Diffstat (limited to 'api')
-rw-r--r-- | api/grpc_server.go | 2 |
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", |