diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-04-16 10:10:10 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-04-16 10:10:10 +0100 |
commit | aff29c0585d499d6cf9ad57080a928cda8d36b7e (patch) | |
tree | 9ca5bb5221d48f17f8d5a6bbac24cb3320fcf01a /lib/custodian/protocoltest | |
parent | cd29840d0d90e6940888b30dd73fb0494aa9cce4 (diff) |
Fixed syntax error.
Diffstat (limited to 'lib/custodian/protocoltest')
-rw-r--r-- | lib/custodian/protocoltest/ldap.rb | 5 |
1 files changed, 1 insertions, 4 deletions
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 |