fix(log): fail to submit action log

Because splitable not implement InsertOrMethod method, fail to submit
action log
This commit is contained in:
Qiu Jian
2020-12-16 00:12:52 +08:00
parent ab47e7d404
commit b01a3c1539
+1 -1
View File
@@ -20,7 +20,7 @@ import (
)
func (t *SSplitTableSpec) InsertOrUpdate(dt interface{}) error {
return errors.ErrNotSupported
return t.Insert(dt)
}
func (t *SSplitTableSpec) Update(dt interface{}, onUpdate func() error) (sqlchemy.UpdateDiffs, error) {