Browse Source

embed: fix typo

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
1ebaeed5c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      embed/serve.go

+ 1 - 1
embed/serve.go

@@ -220,8 +220,8 @@ func (sctx *serveCtx) registerGateway(opts []grpc.DialOption) (*gw.ServeMux, err
 	ctx := sctx.ctx
 
 	addr := sctx.addr
-	// explictly define unix network for gRPC socket support
 	if network := sctx.network; network == "unix" {
+		// explicitly define unix network for gRPC socket support
 		addr = fmt.Sprintf("%s://%s", network, addr)
 	}