Browse Source

fix format

pull/443/head
yedf2 3 years ago
parent
commit
cce7270e7a
  1. 2
      dtmsvr/storage/trans.go
  2. 2
      test/saga_grpc_test.go

2
dtmsvr/storage/trans.go

@ -81,7 +81,7 @@ func (b *TransBranchStore) String() string {
return dtmimp.MustMarshalString(*b)
}
//KVStore defines Key-Value storage info
// KVStore defines Key-Value storage info
type KVStore struct {
dtmutil.ModelBase
Cat string `json:"cat"`

2
test/saga_grpc_test.go

@ -92,7 +92,7 @@ func TestSagaGrpcEmptyUrl(t *testing.T) {
assert.Equal(t, StatusSucceed, getTransStatus(saga.Gid))
}
//nolint: unparam
// nolint: unparam
func genSagaGrpc(gid string, outFailed bool, inFailed bool) *dtmgrpc.SagaGrpc {
saga := dtmgrpc.NewSagaGrpc(dtmutil.DefaultGrpcServer, gid)
req := busi.GenReqGrpc(30, outFailed, inFailed)

Loading…
Cancel
Save