Skip to content

Commit

Permalink
mapping: list document types, not types from index
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Oct 23, 2024
1 parent 968a062 commit 4ae5e9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/MetaCPAN/Script/Mapping.pm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ has arg_list_types => (
is => 'ro',
isa => Bool,
default => 0,
documentation => 'list available index type names',
documentation => 'list available document type names',
);

has arg_cluster_info => (
Expand Down Expand Up @@ -457,7 +457,7 @@ sub empty_type {

sub list_types {
my $self = shift;
print "$_\n" for sort keys %{ $self->index->types };
print "$_\n" sort keys %{ es_config->documents };
}

sub show_info {
Expand Down

0 comments on commit 4ae5e9a

Please sign in to comment.