mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-22 03:44:55 +00:00
Add 3 TODO.
This commit is contained in:
@@ -4959,6 +4959,7 @@ sub make_new_crontab {
|
|||||||
. " pt-agent --run-service "
|
. " pt-agent --run-service "
|
||||||
. $service->name;
|
. $service->name;
|
||||||
if ( $service->spool_schedule ) {
|
if ( $service->spool_schedule ) {
|
||||||
|
# TODO: test
|
||||||
push @pt_agent_lines,
|
push @pt_agent_lines,
|
||||||
$service->spool_schedule
|
$service->spool_schedule
|
||||||
. " pt-agent --send-data "
|
. " pt-agent --send-data "
|
||||||
@@ -5011,6 +5012,7 @@ sub run_service {
|
|||||||
if ( $output eq 'spool' ) {
|
if ( $output eq 'spool' ) {
|
||||||
$output_file = $spool_file;
|
$output_file = $spool_file;
|
||||||
push @output_files, $spool_file;
|
push @output_files, $spool_file;
|
||||||
|
# TODO: mkdir the spool dif?
|
||||||
}
|
}
|
||||||
elsif ( $output eq 'tmp' ) {
|
elsif ( $output eq 'tmp' ) {
|
||||||
my ($fh, $file) = tempfile();
|
my ($fh, $file) = tempfile();
|
||||||
@@ -5177,6 +5179,7 @@ sub send_data {
|
|||||||
file => $file,
|
file => $file,
|
||||||
url => $client->links->{$service_dir},
|
url => $client->links->{$service_dir},
|
||||||
);
|
);
|
||||||
|
# TODO: url should really be Service->links->self.
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if ( $EVAL_ERROR ) {
|
if ( $EVAL_ERROR ) {
|
||||||
|
Reference in New Issue
Block a user