func (s *CachetClient) ReportIncident(incident *cachet.Incident) (bool, error) {
	incident, _, err := s.client.Incidents.Create(incident)

	if err != nil {
		return false, err
	}

	return true, nil
}
// ReportIncident creates an incident in case no incident was opened
// and it is related to the target component/tag
ReportIncident creates an incident in case no incident was opened
and it is related to the target component/tag
// ReportIncident creates an incident in case no incident was opened // and it is related to the target component / tag
func (s *CachetClient) ReportIncident(incident *cachet.Incident) (bool, error) {
	incident, _, err := s.client.Incidents.Create(incident)
	if err != nil {
		return false, err
	}
	return true, nil
}
func ( s * CachetClient ) ReportIncident ( incident * cachet . Incident ) ( bool , error ) { incident , _ , err := s . client . Incidents . Create ( incident ) if err != nil { return false , err } return true , nil }
ReportIncident creates an incident in case no incident was opened
and it is related to the target component/tag
ReportIncident creates an incident in case no incident was opened and it is related to the target component / tag