Skip to content

Commit 77b7961

Browse files
author
zhangming
committed
更新配置
1 parent 88f029a commit 77b7961

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: store/postgresql/admin.go

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ func (l *leaderElectionStore) CreateLeaderElection(key string) error {
7777

7878
return l.master.processWithTransaction("createLeaderElection", func(tx *BaseTx) error {
7979
mainStr := "INSERT INTO leader_election(elect_key,leader) VALUES ($1,$2)"
80-
fmt.Println("sql", mainStr)
8180
stmt, err := tx.Prepare(mainStr)
8281
if err != nil {
8382
return err

Diff for: test/data/polaris-server.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ store:
401401
# option:
402402
# path: ./polaris.bolt
403403
# ## 数据库存储插件
404-
name: postgresql
404+
name: PostgresqlStore
405405
option:
406406
master:
407407
dbType: "postgres"

0 commit comments

Comments
 (0)