mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
refactor: integrated database services into task data insert
This commit is contained in:
@@ -214,7 +214,7 @@ func (svr TaskServerV2) handleInsertData(msg *grpc.StreamMessage) (err error) {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
var records []interface{}
|
||||
var records []map[string]interface{}
|
||||
for _, d := range data.Records {
|
||||
res, ok := d[constants.TaskKey]
|
||||
if ok {
|
||||
|
||||
Reference in New Issue
Block a user