Skip to content

Commit

Permalink
Merge pull request #715 from metacpan/mickey/script_fedora_print_to_l…
Browse files Browse the repository at this point in the history
…og_debug

script/external/fedora: print --> log_debug
  • Loading branch information
mickeyn committed Jul 8, 2017
2 parents ead56fc + de1f1e7 commit 98061f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Script/Role/External/Fedora.pm
Expand Up @@ -91,7 +91,7 @@ sub dist_for_fedora {
return $1;
}
elsif ( $source =~ /^perl-(.*)/ ) {
print "ES search for $source / $1\n";
log_debug {"ES search for $source / $1\n"};
my $query = { term => { 'distribution.lowercase' => $1 } };

my $res = $self->index->type('release')->filter($query)
Expand Down

0 comments on commit 98061f2

Please sign in to comment.