enh(sccm): database-replication-status - encoding management (#3092)
This commit is contained in:
parent
d27ad14041
commit
880b5058c7
|
@ -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: $@");
|
||||
|
|
Loading…
Reference in New Issue