mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 23:24:27 +02:00
(plugin) cloud::aws::health::mode::events - fix error in output caused by type of returned time (#3686)
This commit is contained in:
parent
1079086e10
commit
3d59cddeb9
@ -150,7 +150,7 @@ sub manage_selection {
|
||||
$events->{$_}->{region},
|
||||
$events->{$_}->{statusCode},
|
||||
$events->{$_}->{eventTypeCode},
|
||||
scalar(localtime($events->{$_}->{startTime})),
|
||||
$events->{$_}->{startTime} =~ m/^\d{4}-\d{2}-\d{2}/ ? $events->{$_}->{startTime} : scalar(localtime($events->{$_}->{startTime})),
|
||||
$entity
|
||||
)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user