Skip to content

Commit 4972637

Browse files
authored
Merge pull request #299 from grondo/rfc21-set-flags
rfc21: document the set-flags event
2 parents 479c4c8 + 5fe66d8 commit 4972637

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

spec_21.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,22 @@ Example:
190190
191191
{"timestamp":1552593348.073045,"name":"submit","context":{"urgency":16,"userid":5588,"flags":0}}
192192
193+
Set-flags Event
194+
^^^^^^^^^^^^^^^
195+
196+
One or more flags have been set on the job.
197+
198+
The following key is REQUIRED in the event context object:
199+
200+
flags
201+
(array of string) array of flag names to set.
202+
203+
Example:
204+
205+
.. code:: json
206+
207+
{"timestamp":1552593348.073045,"name":"set-flags","context":{"flags":["debug"]}}
208+
193209
194210
Dependency-add Event
195211
^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)