mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-13 14:39:28 +00:00
Handle pong.
This commit is contained in:
@@ -152,6 +152,9 @@ sub get {
|
|||||||
# dynamic attribs anyway, so no use having a real Links obj.
|
# dynamic attribs anyway, so no use having a real Links obj.
|
||||||
$resource_objects = $resource->{links};
|
$resource_objects = $resource->{links};
|
||||||
}
|
}
|
||||||
|
elsif ( exists $resource->{pong} ) {
|
||||||
|
PTDEBUG && _d("Ping pong!");
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
warn "Did not get X-Percona-Resource-Type or links from $link\n";
|
warn "Did not get X-Percona-Resource-Type or links from $link\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user