mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-29 03:51:54 +08:00
fix(log): fail to submit action log
Because splitable not implement InsertOrMethod method, fail to submit action log
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user