Skip to content

Commit 78b01db

Browse files
authored
Merge pull request #72 from metacpan/mickey/es
ES - default to type=index (future ready for ES upgrade)
2 parents 99eb222 + d00dd08 commit 78b01db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/MetaCPAN/ES.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ sub new ( $class, %args ) {
2929
nodes => [$config_node],
3030
),
3131
index => $index,
32-
( $args{type} ? ( type => $args{type} ) : () ),
32+
type => ( $args{type} ? $args{type} : $index ),
3333
}, $class;
3434
}
3535

0 commit comments

Comments
 (0)