From 21c717fbe8e31d5e9a24c83c968c1d65dce13f99 Mon Sep 17 00:00:00 2001 From: Georgi Matev Date: Fri, 9 Dec 2022 14:47:51 -0800 Subject: [PATCH] Rename events to adhere to the "Noun Action" naming convention (#1763) ## Description Rename events to adhere to naming convention ## Type of change - [ ] :sunflower: Feature - [x] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Test - [ ] :computer: CI/Deployment - [ ] :hamster: Trivial/Minor ## Issue(s) ## Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- src/internal/events/events.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/internal/events/events.go b/src/internal/events/events.go index b4e949044..29292f5ee 100644 --- a/src/internal/events/events.go +++ b/src/internal/events/events.go @@ -23,11 +23,13 @@ const ( tenantID = "m365_tenant_hash" // Event Keys - RepoInit = "repo_init" - BackupStart = "backup_start" - BackupEnd = "backup_end" - RestoreStart = "restore_start" - RestoreEnd = "restore_end" + CorsoStart = "Corso Start" + RepoInit = "Repo Init" + RepoConnect = "Repo Connect" + BackupStart = "Backup Start" + BackupEnd = "Backup End" + RestoreStart = "Restore Start" + RestoreEnd = "Restore End" // Event Data Keys BackupCreateTime = "backup_creation_time"