Browse Source

Changes batch update failure to a WARN since it's nbd.

pull/1361/head
James Phillips 9 years ago
parent
commit
c1d338550f
  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