Explorar o código

add incident event to api response

Alexander Belanger %!s(int64=3) %!d(string=hai) anos
pai
achega
9718a2e268
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      api/types/incident.go

+ 1 - 0
api/types/incident.go

@@ -79,6 +79,7 @@ type IncidentEvent struct {
 	PodNamespace string     `json:"pod_namespace" form:"required"`
 	Summary      string     `json:"summary" form:"required"`
 	Detail       string     `json:"detail" form:"required"`
+	Revision     string     `json:"revision"`
 }
 
 type ListIncidentEventsRequest struct {