remove carriage return from edge description

This commit is contained in:
Colin Gagnaire 2020-04-20 20:08:37 +02:00
parent 1fa79d31a6
commit f8447e2200
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ sub run {
$edge{device_family} = $edge->{deviceFamily};
$edge{name} = $edge->{name};
$edge{description} = $edge->{description};
$edge{description} =~ s/\n//g if (defined($edge{description}));
$edge{edge_state} = $edge->{edgeState};
$edge{service_state} = $edge->{serviceState};
$edge{ha_state} = $edge->{haState};