AlexStocks commented on code in PR #901:
URL:
https://github.com/apache/incubator-seata-go/pull/901#discussion_r2384596947
##########
pkg/integration/gin/gin_transaction_middleware.go:
##########
@@ -36,8 +36,8 @@ func TransactionMiddleware() gin.HandlerFunc {
xid = ctx.GetHeader(constant.XidKeyLowercase)
}
- if len(xid) == 0 {
- log.Errorf("Gin: header not contain header: %s, global
transaction xid", constant.XidKey)
+ if xid == "" {
Review Comment:
这行不要动,你改错了
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]