File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
my $gh_graphql = Net::GitHub::V4-> new(
31
31
( $gh_token ? ( access_token => $gh_token ) : () ) );
32
32
33
- my $es = MetaCPAN::ES-> new( index => " cpan " , type => " distribution" );
33
+ my $es = MetaCPAN::ES-> new( index => " distribution" );
34
34
my $bulk = $es -> bulk();
35
35
36
36
check_all_distributions();
43
43
44
44
# make sure all distributions have an entry
45
45
sub check_all_distributions () {
46
- my $es_release = MetaCPAN::ES-> new( type => " release" );
46
+ my $es_release = MetaCPAN::ES-> new( index => " release" );
47
47
my $scroll_release = $es_release -> scroll(
48
48
body => {
49
49
query => {
123
123
sub index_github_bugs () {
124
124
log_debug {' Fetching GitHub issues' };
125
125
126
- my $es_release = MetaCPAN::ES-> new( type => " release" );
126
+ my $es_release = MetaCPAN::ES-> new( index => " release" );
127
127
my $scroll_release = $es_release -> scroll(
128
128
body => {
129
129
query => {
You can’t perform that action at this time.
0 commit comments