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 | db7d4a4d460a7ee482c4a1b9d25a1d6a257042e2 (patch) | |
tree | 8c99775e57d82874e4428146c07077ebf149e3c8 | |
parent | 08a9ef77a0de0d8a4310cb48e4179c13041e2b75 (diff) |
Fixed syntax error.
-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 |