File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -276,14 +276,34 @@ The event context SHALL contain the following keys:
276276
277277 (*string*, OPTIONAL) A message describing why the undrain action was taken.
278278
279+ .. data:: overwrite
280+ :noindex:
281+
282+ (*integer*, OPTIONAL) Select how this event is applied if the nodes are
283+ already undrained. The value SHALL be one of:
284+
285+ 0
286+ Update nothing. Use this value if the nodes are known to be drained.
287+
288+ 1
289+ Update the reason but not the timestamp.
290+
291+ 2
292+ Update the reason and the timestamp.
293+
294+ If this key is not present, it should be treated the same as if it
295+ were present with a value of 0.
296+
279297.. code:: json
280298
281299 {
282300 "timestamp" : 1734395501.1793933 ,
283301 "name" : " undrain" ,
284302 "context" : {
285303 "idset" : " 0" ,
286- "nodelist" : " picl0"
304+ "nodelist" : " picl0" ,
305+ "reason" : " node was rebooted" ,
306+ "ovewrite" : 0
287307 }
288308 }
289309
You can’t perform that action at this time.
0 commit comments