Skip to content

Commit 211939e

Browse files
committed
Removed Data dumper
1 parent 33497e3 commit 211939e

File tree

1 file changed

+0
-2
lines changed
  • lib/Search/Elasticsearch/Role

1 file changed

+0
-2
lines changed

lib/Search/Elasticsearch/Role/Cxn.pm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ use IO::Uncompress::Gunzip qw(gunzip $GunzipError);
3232
use Search::Elasticsearch::Util qw(to_list);
3333
use namespace::clean;
3434
use Net::IP;
35-
use Data::Dumper;
3635

3736
requires qw(perform_request error_from_text handle);
3837

@@ -348,7 +347,6 @@ sub process_response {
348347
# Product check
349348
if ( $code >= 200 and $code < 300 ) {
350349
my $product = $headers->{$PRODUCT_CHECK_HEADER} // '';
351-
print Dumper($headers);
352350
if ($product ne $PRODUCT_CHECK_VALUE) {
353351
throw( "ProductCheck", "The client noticed that the server is not Elasticsearch and we do not support this unknown product" );
354352
}

0 commit comments

Comments
 (0)