Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
mkysel committed Dec 4, 2024
1 parent 6807c79 commit b90e1e7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cmd/replication/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ func main() {
tracing.GoPanicWrap(ctx, &wg, "main", func(ctx context.Context) {
var dbInstance *sql.DB
if options.Replication.Enable || options.Sync.Enable || options.Indexer.Enable {
dbInstance, err := db.NewNamespacedDB(
ctx,
options.DB.WriterConnectionString,
utils.BuildNamespace(options),
options.DB.WaitForDB,
options.DB.ReadTimeout,
)
dbInstance, err = db.NewNamespacedDB(
ctx,
options.DB.WriterConnectionString,
utils.BuildNamespace(options),
options.DB.WaitForDB,
options.DB.ReadTimeout,
)

if err != nil {
logger.Fatal("initializing database", zap.Error(err))
Expand Down

0 comments on commit b90e1e7

Please sign in to comment.