File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,19 @@ package auditplan
3
3
import (
4
4
"context"
5
5
e "errors"
6
- "github.com/actiontech/sqle/sqle/common"
7
- "github.com/actiontech/sqle/sqle/driver"
8
- driverV2 "github.com/actiontech/sqle/sqle/driver/v2"
9
- "github.com/pkg/errors"
10
6
"net"
11
7
"regexp"
12
8
"strconv"
13
9
"sync"
14
10
"time"
15
11
12
+ "github.com/actiontech/sqle/sqle/common"
13
+ "github.com/actiontech/sqle/sqle/driver"
14
+ driverV2 "github.com/actiontech/sqle/sqle/driver/v2"
15
+ "github.com/pkg/errors"
16
+
16
17
"github.com/actiontech/sqle/sqle/dms"
17
- "github.com/actiontech/sqle/sqle/errors"
18
+ sqleErr "github.com/actiontech/sqle/sqle/errors"
18
19
"github.com/actiontech/sqle/sqle/log"
19
20
"github.com/actiontech/sqle/sqle/model"
20
21
"github.com/actiontech/sqle/sqle/utils"
@@ -230,7 +231,7 @@ func (at *TaskWrapper) extractSQL() {
230
231
defer func () {
231
232
status := model .LastCollectionNormal
232
233
if err != nil {
233
- at .logger .Error (errors .NewAuditPlanExecuteExtractErr (err , at .ap .InstanceID , at .ap .Type ))
234
+ at .logger .Error (sqleErr .NewAuditPlanExecuteExtractErr (err , at .ap .InstanceID , at .ap .Type ))
234
235
status = model .LastCollectionAbnormal
235
236
}
236
237
updateErr := at .persist .UpdateAuditPlanInfoByAPID (at .ap .ID , map [string ]interface {}{"last_collection_status" : status })
You can’t perform that action at this time.
0 commit comments