diff --git a/src/lib/Hydra/Event.pm b/src/lib/Hydra/Event.pm index d7e82758..99e1a2de 100644 --- a/src/lib/Hydra/Event.pm +++ b/src/lib/Hydra/Event.pm @@ -38,7 +38,7 @@ sub new_event { }, $self; } -sub interested { +sub interestedIn { my ($self, $plugin) = @_; return $self->{"event"}->interestedIn($plugin); diff --git a/src/lib/Hydra/TaskDispatcher.pm b/src/lib/Hydra/TaskDispatcher.pm index 0a881407..94e49104 100644 --- a/src/lib/Hydra/TaskDispatcher.pm +++ b/src/lib/Hydra/TaskDispatcher.pm @@ -195,7 +195,7 @@ sub dispatch_task { return 0; } - if (!$task->{"event"}->interested($plugin)) { + if (!$task->{"event"}->interestedIn($plugin)) { $self->{"prometheus"}->inc("notify_plugin_not_interested", $event_labels); return 0; }