File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -126,25 +126,25 @@ sub index_reports {
126126 # there's a cpantesters dist we haven't indexed
127127 next unless ($release_doc );
128128
129- my $bulk = 0;
129+ my $insert_ok = 0;
130130
131131 my $tester_results = $release_doc -> {tests };
132132 if ( !$tester_results ) {
133133 $tester_results = {};
134- $bulk = 1;
134+ $insert_ok = 1;
135135 }
136136
137137 # maybe use Data::Compare instead
138138 for my $condition (qw( fail pass na unknown) ) {
139- last if $bulk ;
139+ last if $insert_ok ;
140140 if ( ( $tester_results -> {$condition } || 0 )
141141 != $row_from_db -> {$condition } )
142142 {
143- $bulk = 1;
143+ $insert_ok = 1;
144144 }
145145 }
146146
147- next unless ($bulk );
147+ next unless ($insert_ok );
148148 my %tests = map { $_ => $row_from_db -> {$_ } } qw( fail pass na unknown) ;
149149 $self -> _bulk-> update(
150150 {
You can’t perform that action at this time.
0 commit comments