forked from lix-project/hydra
Event: interested -> interestedIn
This commit is contained in:
parent
e84bbc7f90
commit
2db422f7b0
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue