code: func (s *HTTPServer) syncChanges() {
  	if err := s.agent.State.SyncChanges(); err != nil {
  		s.agent.logger.Printf("[ERR] agent: failed to sync changes: %v", err)
  	}
  }
docs: // syncChanges is a helper function which wraps a blocking call to sync
  // services and checks to the server. If the operation fails, we only
  // only warn because the write did succeed and anti-entropy will sync later.