You've already forked db-wait
feat: use goreleaser
This commit is contained in:
@ -25,7 +25,7 @@ func Wait(databaseURL *url.URL, period time.Duration, timeout time.Duration) err
|
||||
return err
|
||||
}
|
||||
}
|
||||
defer sqlDB.Close()
|
||||
defer func() { _ = sqlDB.Close() }()
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), timeout)
|
||||
defer cancel()
|
||||
|
Reference in New Issue
Block a user