Skip to content

Commit

Permalink
Revert "Revert "caches bind result", to see if failing in CI"
Browse files Browse the repository at this point in the history
This reverts commit 3455b30
  • Loading branch information
vroldanbet committed Nov 15, 2019
1 parent ab18e5b commit 92be710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net/ldap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def open
begin
@open_connection = new_connection
payload[:connection] = @open_connection
payload[:bind] = @open_connection.bind(@auth)
payload[:bind] = @result = @open_connection.bind(@auth)
yield self
ensure
@open_connection.close if @open_connection
Expand Down

0 comments on commit 92be710

Please sign in to comment.