Skip to content

Commit

Permalink
rename attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Jun 28, 2016
1 parent 077ed10 commit fbc15b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/MetaCPAN/Client/Request.pm
Expand Up @@ -51,7 +51,7 @@ has ua_args => (
},
);

has is_agg => (
has _is_agg => (
is => 'ro',
default => 0,
writer => '_set_is_agg'
Expand Down Expand Up @@ -99,7 +99,7 @@ sub ssearch {
my $body = $self->_build_body($args, $params);

my $scroller = $es->scroll_helper(
( search_type => 'scan' ) x !$self->is_agg,
( search_type => 'scan' ) x !$self->_is_agg,
scroll => '5m',
index => $self->version,
type => $type,
Expand Down

0 comments on commit fbc15b7

Please sign in to comment.