Fix parenthesis problem.

This commit is contained in:
Fuyuan Bie 2017-05-15 22:01:45 -07:00 committed by GitHub
parent 5f2a8b7f30
commit bcdbe0f018
1 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ func (m *Mysql) Lock() error {
}
aid, err := database.GenerateAdvisoryLockId(
fmt.Sprintf("%s:%s", m.config.DatabaseName, m.config.MigrationsTable)
fmt.Sprintf("%s:%s", m.config.DatabaseName, m.config.MigrationsTable))
if err != nil {
return err
}
@ -182,7 +182,7 @@ func (m *Mysql) Unlock() error {
}
aid, err := database.GenerateAdvisoryLockId(
fmt.Sprintf("%s:%s", m.config.DatabaseName, m.config.MigrationsTable)
fmt.Sprintf("%s:%s", m.config.DatabaseName, m.config.MigrationsTable))
if err != nil {
return err
}