Skip to content

Commit 779879f

Browse files
authored
Add work deleting condition type (#384)
Signed-off-by: Jian Qiu <[email protected]>
1 parent 5fcf159 commit 779879f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

work/v1/types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,9 @@ const (
506506
// WorkComplete represents that the work has completed and should no longer
507507
// be updated.
508508
WorkComplete string = "Complete"
509+
// WorkDeleting represents that the work is being deleted by the agent currently.
510+
// This condition is added only when the work's deletion timestamp is not nil.
511+
WorkDeleting = "Deleting"
509512
)
510513

511514
// Work condition reasons

0 commit comments

Comments
 (0)