From db7d4a4d460a7ee482c4a1b9d25a1d6a257042e2 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 16 Apr 2015 10:10:10 +0100 Subject: Fixed syntax error. --- lib/custodian/protocoltest/ldap.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/custodian/protocoltest') diff --git a/lib/custodian/protocoltest/ldap.rb b/lib/custodian/protocoltest/ldap.rb index 4a6009f..baabd7f 100644 --- a/lib/custodian/protocoltest/ldap.rb +++ b/lib/custodian/protocoltest/ldap.rb @@ -125,7 +125,7 @@ module Custodian else @error = "failed to bind to LDAP server '#{@host}' with username '#{@ldap_user}' and password '#{@ldap_pass}'" return false - .end + end end rescue LDAP::ResultError => ex @error = "LDAP exception: #{ex} when talking to LDAP server '#{@host}' with username '#{@ldap_user}' and password '#{@ldap_pass}'" @@ -148,8 +148,5 @@ module Custodian register_test_type 'ldap' - - - end end end -- cgit v1.2.1