mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 16:45:04 +02:00
fix(notification-teams): fix notification output
Refs:CTOR-1379
This commit is contained in:
parent
7f156c4d4e
commit
b37b115a67
@ -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"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user