From 180590b4117c9b770f20df7656f1d9cd06c0bfd9 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Sat, 30 Sep 2023 01:42:27 +0200 Subject: [PATCH] Mark events as being automatically generated --- lib/www/server/events/handlers/detect-soft-start.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/www/server/events/handlers/detect-soft-start.js b/lib/www/server/events/handlers/detect-soft-start.js index 184dc63..ea96e6c 100644 --- a/lib/www/server/events/handlers/detect-soft-start.js +++ b/lib/www/server/events/handlers/detect-soft-start.js @@ -59,7 +59,7 @@ class DetectSoftStart { tstamp: cur.tstamp, remarks: "Soft start", labels: [ "Daily", "Guns", "Prod" ], - meta: { author: `*${this.constructor.name}*`} + meta: {auto: true, author: `*${this.constructor.name}*`} }; DEBUG("Posting event", projectId, payload); await event.post(projectId, payload); @@ -74,7 +74,7 @@ class DetectSoftStart { tstamp: cur.tstamp, remarks: "Full volume", labels: [ "Daily", "Guns", "Prod" ], - meta: { author: `*${this.constructor.name}*`} + meta: {auto: true, author: `*${this.constructor.name}*`} }; DEBUG("Posting event", projectId, payload); await event.post(projectId, payload);