Skip to content
Snippets Groups Projects
Unverified Commit 65f870f8 authored by deepsource-autofix[bot]'s avatar deepsource-autofix[bot] Committed by GitHub
Browse files

Types of function parameters can be combined (#47)

parent 13ed4cdb
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ func runAfterUpdates(tx *sqlx.Tx, afterDone map[string]bool) error {
return nil
})
}
func updateCallback(tx *sqlx.Tx, cmds string, version string, done map[string]bool, dbUpdateCallback func(*sqlx.Tx, string) error) error {
func updateCallback(tx *sqlx.Tx, cmds, version string, done map[string]bool, dbUpdateCallback func(*sqlx.Tx, string) error) error {
log.WithField("version", version).Info("Updating DB to version")
if len(cmds) == 0 {
return nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment