Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joway committed Oct 21, 2024
1 parent fdfc0bc commit f1cf153
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/remote/trans/streamx/server_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (t *svrTransHandler) OnActive(ctx context.Context, conn net.Conn) (context.
return ctx, nil
}

// OnRead control the connnection level lifecycle.
// OnRead control the connection level lifecycle.
// only when OnRead return, netpoll can close the connection buffer
func (t *svrTransHandler) OnRead(ctx context.Context, conn net.Conn) (err error) {
var wg sync.WaitGroup
Expand Down
3 changes: 2 additions & 1 deletion pkg/streamx/provider/ttstream/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ import (
"github.com/bytedance/gopkg/lang/mcache"
"github.com/cloudwego/gopkg/bufiox"
"github.com/cloudwego/gopkg/protocol/thrift"
"github.com/cloudwego/kitex/pkg/rpcinfo"
"github.com/cloudwego/netpoll"

"github.com/cloudwego/kitex/pkg/rpcinfo"

"github.com/cloudwego/kitex/client/streamxclient/streamxcallopt"

"github.com/cloudwego/kitex/pkg/klog"
Expand Down

0 comments on commit f1cf153

Please sign in to comment.