Browse Source

Merge pull request #184 from huanghao9015/main

Update trans_xa_base.go
pull/193/head
yedf2 4 years ago
committed by GitHub
parent
commit
7d1c659d5a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dtmcli/dtmimp/trans_xa_base.go
  2. 2
      main.go

2
dtmcli/dtmimp/trans_xa_base.go

@ -18,7 +18,7 @@ type XaClientBase struct {
NotifyURL string
}
// HandleCallback type of commit/rollback callback handler
// HandleCallback Handle the callback of commit/rollback
func (xc *XaClientBase) HandleCallback(gid string, branchID string, action string) error {
db, err := StandaloneDB(xc.Conf)
if err != nil {

2
main.go

@ -58,7 +58,7 @@ func main() {
return
}
config.MustLoadConfig(*confFile)
conf := config.Config
conf := &config.Config
if *isDebug {
conf.LogLevel = "debug"
}

Loading…
Cancel
Save