MinatoWu commented on code in PR #855: URL: https://github.com/apache/incubator-seata-go/pull/855#discussion_r2265218066
########## pkg/saga/tm/default_saga_transactional_template.go: ########## @@ -82,8 +82,7 @@ func (t *DefaultSagaTransactionalTemplate) ReportTransaction(ctx context.Context } func (t *DefaultSagaTransactionalTemplate) BranchRegister(ctx context.Context, resourceId string, clientId string, xid string, applicationData string, lockKeys string) (int64, error) { - //todo Wait implement sagaResource - return rm.GetRMRemotingInstance().BranchRegister(rm.BranchRegisterParam{ + return sagarm.GetSagaResourceManager().BranchRegister(ctx, rm.BranchRegisterParam{ Review Comment: Yes, I think the general function is aligned with java -- 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: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org