code: func (c *cmd) checkpointResults(results *checkpoint.CheckResponse, err error) {
  	if err != nil {
  		c.UI.Error(fmt.Sprintf("Failed to check for updates: %v", err))
  		return
  	}
  	if results.Outdated {
  		c.UI.Error(fmt.Sprintf("Newer Consul version available: %s (currently running: %s)", results.CurrentVersion, c.version))
  	}
  	for _, alert := range results.Alerts {
  		switch alert.Level {
  		case "info":
  			c.UI.Info(fmt.Sprintf("Bulletin [%s]: %s (%s)", alert.Level, alert.Message, alert.URL))
  		default:
  			c.UI.Error(fmt.Sprintf("Bulletin [%s]: %s (%s)", alert.Level, alert.Message, alert.URL))
  		}
  	}
  }
docs: // checkpointResults is used to handler periodic results from our update checker