Fix call to logger (#1898)

environments/ppa-mbqj77/deployments/796^2
Clément OUDOT 6 years ago
parent a7950a2613
commit 6a462bfed3
  1. 7
      lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/SecureToken.pm

@ -201,15 +201,14 @@ sub _isAlive {
my $total_c = $stats->{'total'}->{'connection_structures'};
my $total_i = $stats->{'total'}->{'total_items'};
$class->(
"Memcached connection is alive ($total_c connections / $total_i items)",
'debug'
$class->logger->debug->(
"Memcached connection is alive ($total_c connections / $total_i items)"
);
return 1;
}
$class->( "Memcached connection is not alive", 'error' );
$class->logger->error("Memcached connection is not alive");
return 0;
}

Loading…
Cancel
Save