mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-12 06:00:14 +00:00
Remove .microseconds from start_ts and end_ts.
This commit is contained in:
@@ -5818,6 +5818,8 @@ sub run_service {
|
|||||||
my $json = $args{json};
|
my $json = $args{json};
|
||||||
my $curr_ts = $args{curr_ts} || ts(time, 1); # 1=UTC
|
my $curr_ts = $args{curr_ts} || ts(time, 1); # 1=UTC
|
||||||
|
|
||||||
|
$curr_ts =~ s/\.\d+$//; # remove .microseconds
|
||||||
|
|
||||||
# Can't do anything with the lib dir. Since we haven't started
|
# Can't do anything with the lib dir. Since we haven't started
|
||||||
# logging yet, cron should capture this error and email the user.
|
# logging yet, cron should capture this error and email the user.
|
||||||
init_lib_dir(
|
init_lib_dir(
|
||||||
|
Reference in New Issue
Block a user