dnsexit2: Delete unnecessary debug messages
This commit is contained in:
parent
7b95b379aa
commit
d28c8ea7ad
1 changed files with 0 additions and 6 deletions
|
@ -4216,12 +4216,6 @@ sub nic_dnsexit2_update {
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
my $body = ($reply =~ s/^.*?\r?\n\r?\n//sr);
|
my $body = ($reply =~ s/^.*?\r?\n\r?\n//sr);
|
||||||
debug("body\n%s", $body);
|
|
||||||
if ($body ne $reply) {
|
|
||||||
debug("HTTP headers are stripped.");
|
|
||||||
} else {
|
|
||||||
warning("Unexpected: no HTTP headers stripped!");
|
|
||||||
}
|
|
||||||
my $response = decode_json($body);
|
my $response = decode_json($body);
|
||||||
if (!defined($response->{'code'}) || !defined($response->{'message'})) {
|
if (!defined($response->{'code'}) || !defined($response->{'message'})) {
|
||||||
failed("Did not receive expected \"code\" and \"message\" keys in server response.");
|
failed("Did not receive expected \"code\" and \"message\" keys in server response.");
|
||||||
|
|
Loading…
Reference in a new issue