Skip to content

Commit

Permalink
do not dispatch RestartApply(obj) event
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrizio Sestito <fabrizio.sestito@suse.com>
  • Loading branch information
fabriziosestito committed May 17, 2024
1 parent 1cc5b89 commit f7de17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube-runtime/src/reflector/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ where
pub(crate) async fn dispatch_event(&mut self, event: &watcher::Event<K>) {
if let Some(ref mut dispatcher) = self.dispatcher {
match event {
watcher::Event::Apply(obj) | watcher::Event::RestartApply(obj) => {
watcher::Event::Apply(obj) => {
let obj_ref = obj.to_object_ref(self.dyntype.clone());
// TODO (matei): should this take a timeout to log when backpressure has
// been applied for too long, e.g. 10s
Expand Down

0 comments on commit f7de17b

Please sign in to comment.