Skip to content

Commit 5ab7263

Browse files
committed
use correct json module when showing es info
1 parent ff7e4c4 commit 5ab7263

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
@@ -161,7 +161,7 @@ sub show_info {
161161
'cluster_info' => \%{ $self->cluster_info },
162162
'indices_info' => \%{ $self->indices_info },
163163
};
164-
log_info { JSON->new->utf8->pretty->encode($info_rs) };
164+
log_info { Cpanel::JSON::XS->new->utf8->pretty->encode($info_rs) };
165165
}
166166

167167
sub _build_index_config {

0 commit comments

Comments
 (0)