Event: interested -> interestedIn

This commit is contained in:
Graham Christensen 2021-12-21 14:27:33 -05:00
parent e84bbc7f90
commit 2db422f7b0
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ sub new_event {
}, $self; }, $self;
} }
sub interested { sub interestedIn {
my ($self, $plugin) = @_; my ($self, $plugin) = @_;
return $self->{"event"}->interestedIn($plugin); return $self->{"event"}->interestedIn($plugin);

View file

@ -195,7 +195,7 @@ sub dispatch_task {
return 0; return 0;
} }
if (!$task->{"event"}->interested($plugin)) { if (!$task->{"event"}->interestedIn($plugin)) {
$self->{"prometheus"}->inc("notify_plugin_not_interested", $event_labels); $self->{"prometheus"}->inc("notify_plugin_not_interested", $event_labels);
return 0; return 0;
} }