From 9b0e4322dfe0c13ab3a047eb96ab72b748692dc9 Mon Sep 17 00:00:00 2001 From: Shubham Kirve Date: Fri, 28 Apr 2023 12:47:49 +0530 Subject: [PATCH] Updating incident status format (#50) * TP-0000 | changeing casing of incident status * TP-0000 | removing unwanted enum values --- model/incident/entity.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/model/incident/entity.go b/model/incident/entity.go index c07c170..cf7c714 100644 --- a/model/incident/entity.go +++ b/model/incident/entity.go @@ -12,16 +12,16 @@ type IncidentStatus string const ( Investigating IncidentStatus = "Investigating" - Identified IncidentStatus = "Identified" - Monitoring IncidentStatus = "Monitoring" - Resolved IncidentStatus = "Resolved" - Duplicated IncidentStatus = "Duplicated" + Identified = "Identified" + Monitoring = "Monitoring" + Resolved = "Resolved" + Duplicated = "Duplicated" ) const ( Retrospective IncidentRole = "Retrospective" - Responder IncidentRole = "Responder" - ServiceOwner IncidentRole = "Service Owner" + Responder = "Responder" + ServiceOwner = "Service Owner" ) type IncidentRole string