Skip to content

Commit 9b9c405

Browse files
committed
use correct json module when showing es info
1 parent 6812670 commit 9b9c405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/MetaCPAN/Script/Mapping.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ sub show_info {
162162
'cluster_info' => \%{ $self->cluster_info },
163163
'indices_info' => \%{ $self->indices_info },
164164
};
165-
log_info { JSON->new->utf8->pretty->encode($info_rs) };
165+
log_info { Cpanel::JSON::XS->new->utf8->pretty->encode($info_rs) };
166166
}
167167

168168
sub _build_index_config {

0 commit comments

Comments
 (0)