Handle pong.

This commit is contained in:
Daniel Nichter
2013-09-18 21:05:48 -07:00
parent 2962bbe71e
commit 9b47d94c87

View File

@@ -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";
} }