Skip to content

Commit 82ee8fa

Browse files
committed
Cleanup
1 parent 109a3ef commit 82ee8fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/flypg/repmgr.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ func (r *RepMgr) memberRoleByHostname(ctx context.Context, pg *pgx.Conn, hostnam
214214
return role, nil
215215
}
216216

217-
func (n *RepMgr) eligiblePrimary() bool {
218-
if n.Region == os.Getenv("PRIMARY_REGION") {
217+
func (r *RepMgr) eligiblePrimary() bool {
218+
if r.Region == os.Getenv("PRIMARY_REGION") {
219219
return true
220220
}
221221
return false

0 commit comments

Comments
 (0)