Skip to content

Commit

Permalink
[PBM-1193] pbm-agent fails with panic when connection to mongod is lo…
Browse files Browse the repository at this point in the history
…st (#896)
  • Loading branch information
defbin authored Nov 27, 2023
1 parent 90e03e3 commit 66b7af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,8 @@ func (a *Agent) HbStatus() {
} else {
hb.Hidden = inf.Hidden
hb.Passive = inf.Passive
hb.Arbiter = inf.ArbiterOnly
}
hb.Arbiter = inf.ArbiterOnly

err = a.pbm.SetAgentStatus(hb)
if err != nil {
Expand Down

0 comments on commit 66b7af3

Please sign in to comment.