Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Update collect_autopilot.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyam8 authored Dec 22, 2022
1 parent 9993c69 commit 0539645
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/consul/collect_autopilot.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ func (c *Consul) collectAutopilotHealth(mx map[string]int64) error {
}

for _, srv := range health.Servers {
c.Infof("my id: '%s', compare with: '%s'", c.cfg.Config.NodeID, srv.ID)
if srv.ID == c.cfg.Config.NodeID {
// SerfStatus: alive, left, failed or none:
// https://github.com/hashicorp/consul/blob/c7ef04c5979dbc311ff3c67b7bf3028a93e8b0f1/agent/consul/operator_autopilot_endpoint.go#L124-L133
Expand Down

0 comments on commit 0539645

Please sign in to comment.