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

Changes batch update failure to a WARN since it's nbd.
This commit is contained in:
James Phillips 2015-10-29 09:28:05 -07:00
commit 79293514fe

View File

@ -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