mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 07:57:07 +00:00
Mark events as being automatically generated
This commit is contained in:
@@ -59,7 +59,7 @@ class DetectSoftStart {
|
|||||||
tstamp: cur.tstamp,
|
tstamp: cur.tstamp,
|
||||||
remarks: "Soft start",
|
remarks: "Soft start",
|
||||||
labels: [ "Daily", "Guns", "Prod" ],
|
labels: [ "Daily", "Guns", "Prod" ],
|
||||||
meta: { author: `*${this.constructor.name}*`}
|
meta: {auto: true, author: `*${this.constructor.name}*`}
|
||||||
};
|
};
|
||||||
DEBUG("Posting event", projectId, payload);
|
DEBUG("Posting event", projectId, payload);
|
||||||
await event.post(projectId, payload);
|
await event.post(projectId, payload);
|
||||||
@@ -74,7 +74,7 @@ class DetectSoftStart {
|
|||||||
tstamp: cur.tstamp,
|
tstamp: cur.tstamp,
|
||||||
remarks: "Full volume",
|
remarks: "Full volume",
|
||||||
labels: [ "Daily", "Guns", "Prod" ],
|
labels: [ "Daily", "Guns", "Prod" ],
|
||||||
meta: { author: `*${this.constructor.name}*`}
|
meta: {auto: true, author: `*${this.constructor.name}*`}
|
||||||
};
|
};
|
||||||
DEBUG("Posting event", projectId, payload);
|
DEBUG("Posting event", projectId, payload);
|
||||||
await event.post(projectId, payload);
|
await event.post(projectId, payload);
|
||||||
|
|||||||
Reference in New Issue
Block a user