mirror of https://github.com/k3s-io/k3s
add the uid in a delete event to the absentOwnerCache
parent
39e3c986cc
commit
21896dac4b
|
@ -411,6 +411,7 @@ func (p *Propagator) processEvent() {
|
|||
// the node's owners list.
|
||||
p.removeDependentFromOwners(existingNode, removed)
|
||||
case event.eventType == deleteEvent:
|
||||
p.gc.absentOwnerCache.Add(accessor.GetUID())
|
||||
if !found {
|
||||
glog.V(6).Infof("%v doesn't exist in the graph, this shouldn't happen", accessor.GetUID())
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue