Skip to content

Commit

Permalink
Revert "test engine"
Browse files Browse the repository at this point in the history
This reverts commit cae0f07.
  • Loading branch information
CharlesCheung96 committed Sep 21, 2023
1 parent c5945b4 commit e3f3ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/servermaster/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ func (s *Server) initElector() error {
return errors.Errorf("failed to convert conn to *sql.DB, got %T", conn)
}

sqlStorage, err := election.NewORMStorageFromSQLDB(db, leaderElectionTable)
sqlStorage, err := election.NewSQLStorage(db, leaderElectionTable)
if err != nil {
return err
}
Expand Down

0 comments on commit e3f3ba8

Please sign in to comment.