mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 05:00:45 +00:00
HEAD /agents doesn't work because app has /agents link. Use GET /ping instead.
This commit is contained in:
@@ -159,23 +159,6 @@ sub get {
|
||||
return $resource_objects;
|
||||
}
|
||||
|
||||
sub head {
|
||||
my ($self, %args) = @_;
|
||||
|
||||
have_required_args(\%args, qw(
|
||||
link
|
||||
)) or die;
|
||||
my ($link) = $args{link};
|
||||
|
||||
eval {
|
||||
$self->_request(
|
||||
method => 'HEAD',
|
||||
link => $link,
|
||||
);
|
||||
};
|
||||
return $EVAL_ERROR;
|
||||
}
|
||||
|
||||
# For a successful POST, the server sets the Location header with
|
||||
# the URI of the newly created resource.
|
||||
sub post {
|
||||
|
Reference in New Issue
Block a user