Browse Source

Merge pull request #1361 from hashicorp/f-warn-on-batch-fail

Changes batch update failure to a WARN since it's nbd.
pull/1362/head
James Phillips 9 years ago
parent
commit
79293514fe
  1. 2
      consul/coordinate_endpoint.go

2
consul/coordinate_endpoint.go

@ -41,7 +41,7 @@ func (c *Coordinate) batchUpdate() {
select {
case <-time.After(c.srv.config.CoordinateUpdatePeriod):
if err := c.batchApplyUpdates(); err != nil {
c.srv.logger.Printf("[ERR] consul.coordinate: Batch update failed: %v", err)
c.srv.logger.Printf("[WARN] consul.coordinate: Batch update failed: %v", err)
}
case <-c.srv.shutdownCh:
return

Loading…
Cancel
Save