Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Dec 13, 2016
1 parent 2339e32 commit 26e16f6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/MetaCPAN/Script/Mapping.pm
Expand Up @@ -367,8 +367,8 @@ sub list_types {
}

sub deploy_mapping {
my $self = shift;
my $es = $self->es;
my $self = shift;
my $es = $self->es;
my $cpan_index = 'cpan_v1_01';
my $user_index = 'user';

Expand All @@ -384,7 +384,8 @@ sub deploy_mapping {

# create new indices

my $dep = decode_json( MetaCPAN::Script::Mapping::DeployStatement::mapping );
my $dep
= decode_json(MetaCPAN::Script::Mapping::DeployStatement::mapping);

log_info {"Creating index: user"};
$es->indices->create( index => $user_index, body => $dep );
Expand Down

0 comments on commit 26e16f6

Please sign in to comment.