fix(notification-teams): fix notification output

Refs:CTOR-1379
This commit is contained in:
itoussies@centreon.com 2025-07-24 10:43:57 +02:00
parent 7f156c4d4e
commit b37b115a67

View File

@ -377,7 +377,8 @@ sub build_workflow_message {
if (defined($self->{option_results}->{$resource_type . '_output'}) && $self->{option_results}->{$resource_type . '_output'} ne '') {
push @{$self->{body}}, {
type => "TextBlock",
text => "Status: " . $self->{option_results}->{$resource_type . '_output'}
text => "Status: " . $self->{option_results}->{$resource_type . '_output'},
wrap => "true"
};
}
@ -393,7 +394,7 @@ sub build_workflow_message {
push @{$self->{body}}, {
type => "TextBlock",
text => "Additional Information: \n" . sprintf($self->{option_results}->{extra_info_format}, $1, $2),
"wrap" => "true"
wrap => "true"
};
}
}