Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: weizhou.lan@daocloud.io <weizhou.lan@daocloud.io>
  • Loading branch information
weizhoublue committed Dec 6, 2022
1 parent c39e463 commit 4b40bc9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/grpcManager/client_implement.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ func (s *grpcClientManager) SendRequestForExecRequest(ctx context.Context, serve
}

logger.Debug("finish")
stream.CloseSend()
if e := stream.CloseSend(); e != nil {
logger.Sugar().Errorf("grpc failed to CloseSend error=%v ", e)
}
return response, nil

}
Expand Down

0 comments on commit 4b40bc9

Please sign in to comment.