Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdWaterLW committed Nov 28, 2023
1 parent e8b80a8 commit 4ecab77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqle/api/controller/v1/sql_audit_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func parseXMLsWithFilePath(xmlContents []xmlParser.XmlFiles) ([]SQLsFromFile, er
return nil, fmt.Errorf("parse sqls from xml failed: %v", err)
}

var sqls []SQLsFromFile
sqls := []SQLsFromFile{}
for _, xmlContent := range xmlContents {
var sqlBuffer bytes.Buffer
ss := getSQLsByFilePath(xmlContent.FilePath, allStmtsFromXml)
Expand Down

0 comments on commit 4ecab77

Please sign in to comment.