summaryrefslogtreecommitdiffhomepage
path: root/api/grpc_server.go
diff options
context:
space:
mode:
authorJeff Bean <jeffreyrobertbean@gmail.com>2018-06-14 08:24:14 -0700
committerJeff Bean <jeffreyrobertbean@gmail.com>2018-06-14 08:25:20 -0700
commitb73933c4b20e15f468944edd7012a7cc90adf0e7 (patch)
tree12eea924430fce2ac2c0921fdf013ccec02d662e /api/grpc_server.go
parent0d64c69d136d6a49a11c820604ba1dde0cd60799 (diff)
simple staticcheck issues
Diffstat (limited to 'api/grpc_server.go')
-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",