Skip to content

Commit c267c7e

Browse files
committed
llbsolver: send delete status event
This was defined in proto but looks like it was never actually implemented. Signed-off-by: Tonis Tiigi <[email protected]>
1 parent 546622c commit c267c7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

solver/llbsolver/history.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ func (h *HistoryQueue) delete(ref string, sync bool) error {
133133
return nil
134134
}
135135
delete(h.deleted, ref)
136+
h.ps.Send(&controlapi.BuildHistoryEvent{
137+
Type: controlapi.BuildHistoryEventType_DELETED,
138+
Record: &controlapi.BuildHistoryRecord{Ref: ref},
139+
})
136140
if err := h.DB.Update(func(tx *bolt.Tx) error {
137141
b := tx.Bucket([]byte(recordsBucket))
138142
if b == nil {

0 commit comments

Comments
 (0)