enh(sccm): database-replication-status - encoding management (#3092)

This commit is contained in:
qgarnier 2021-09-10 09:32:27 +02:00 committed by GitHub
parent d27ad14041
commit 880b5058c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ sub manage_selection {
my $decoded;
eval {
$decoded = JSON::XS->new->utf8->decode($stdout);
$decoded = JSON::XS->new->decode($self->{output}->decode($stdout));
};
if ($@) {
$self->{output}->add_option_msg(short_msg => "Cannot decode json response: $@");