Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davissp14 committed Jan 15, 2025
1 parent 1394a9e commit dd3bcbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/flypg/repmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func (*RepMgr) restartDaemon() error {
}

func (r *RepMgr) daemonRestartRequired(m *Member) bool {
return m.Hostname != r.MachineID
return m.Name != r.MachineID
}

func (r *RepMgr) unregisterWitness(id int) error {
Expand Down

0 comments on commit dd3bcbb

Please sign in to comment.