code: func (s *service) updateDests() {
  	for _, d := range s.dests {
  		if !s.active {
  			d.stats.DestinationStats = &ipvs.DestinationStats{}
  			if d.active {
  				d.down()
  			}
  			continue
  		}
  		switch {
  		case !d.healthy && d.active:
  			d.down()
  		case d.healthy && !d.active:
  			d.up()
  		}
  	}
  }
docs: // updateDests brings the destinations for a service up or down based on the
  // state of the service and the health of each destination.