Skip to content

Commit 56e2962

Browse files
authored
chore: fix command rendering error (#826)
Signed-off-by: rogerogers <[email protected]>
1 parent 00610fd commit 56e2962

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/en/docs/kitex/FAQ/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ description: "Kitex Frequently Asked Questions and corresponding Answers."
3030
* gRPC provides support to gRPC message protocol and enables Kitex to interact with gRPC framework.
3131

3232
**Q6: Issues regarding Thrift interface compiling, such as "not enough arguments in call to iprot.ReadStructBegin"**
33-
* Based on Thrift v0.13, Kitex cannot be upgraded directly, as there is a breaking change in the interface of Apache Thrift v0.14. The reason for such problems could be that a new version of Thrift is pulled during upgrades. The use of -u parameters is not recommended during upgrades, you can run the following command to fix the version: "go mod edit -replace github.com/apache/thrift=github.com/apache/[email protected]"
33+
* Based on Thrift v0.13, Kitex cannot be upgraded directly, as there is a breaking change in the interface of Apache Thrift v0.14. The reason for such problems could be that a new version of Thrift is pulled during upgrades. The use of -u parameters is not recommended during upgrades, you can run the following command to fix the version: `go mod edit -replace github.com/apache/thrift=github.com/apache/[email protected]`
3434

3535
## Kitex Code Generation Tool
3636

content/zh/docs/kitex/FAQ/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ description: "Kitex 常见问题解答。"
2828
* gRPC 是对 gRPC 消息协议的支持,可以与 gRPC 框架互通。
2929

3030
**Q6: 出现 Thrift 接口编译问题,如 not enough arguments in call to iprot.ReadStructBegin**
31-
* Kitex 依赖 Thrift v0.13,因为Apache Thrift v0.14 接口有 breaking change,无法直接升级。出现该问题是拉到了新版本的 Thrift,升级版本时建议不使用 -u 参数,可以执行命令固定版本 go mod edit -replace github.com/apache/thrift=github.com/apache/[email protected]
31+
* Kitex 依赖 Thrift v0.13,因为Apache Thrift v0.14 接口有 breaking change,无法直接升级。出现该问题是拉到了新版本的 Thrift,升级版本时建议不使用 -u 参数,可以执行命令固定版本 `go mod edit -replace github.com/apache/thrift=github.com/apache/[email protected]`
3232

3333
## Kitex 代码生成工具
3434

0 commit comments

Comments
 (0)