fix(ci): detect properly plugin changes in lib directory (#4264)
This commit is contained in:
parent
f2afd9f5d4
commit
9c4e15e1f1
|
@ -31,7 +31,7 @@ list_packages = set()
|
|||
for plugin in plugins:
|
||||
list_plugins.add(plugin)
|
||||
try:
|
||||
found = re.search('(.*)\/(?:plugin\.pm|mode\/.+|custom\/.+)', plugin).group(1)
|
||||
found = re.search('(.*)\/(?:plugin\.pm|(?:lib|mode|custom)\/.+)', plugin).group(1)
|
||||
list_plugins.add(found)
|
||||
except AttributeError:
|
||||
pass
|
||||
|
|
|
@ -49,7 +49,7 @@ sub search {
|
|||
$map_search_field->{PTR} = 'ptrdname' if (defined($self->{option_results}->{use_ptr_fqdn}));
|
||||
|
||||
my $error_quit = defined($options{error_quit}) ? $options{error_quit} : undef;
|
||||
|
||||
|
||||
my $reply = $handle->search($self->{option_results}->{search}, $search_type);
|
||||
if ($reply) {
|
||||
foreach my $rr ($reply->answer) {
|
||||
|
@ -68,14 +68,14 @@ sub search {
|
|||
$self->{output}->exit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return sort @results;
|
||||
}
|
||||
|
||||
sub connect {
|
||||
my ($self, %options) = @_;
|
||||
my %dns_options = ();
|
||||
|
||||
|
||||
if (defined($self->{option_results}->{nameservers})) {
|
||||
$dns_options{nameservers} = [@{$self->{option_results}->{nameservers}}];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue