Skip to content

Commit

Permalink
fix(startup) if startup request failed, it might be bcause hose is down
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Dec 18, 2015
1 parent b17b961 commit 4a23097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cassandra.lua
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function Host:connect()
end
end

return false, err
return false, err, true
elseif res.must_authenticate then
log.info("Host at "..self.address.." required authentication")
local authenticator, err = auth.new_authenticator(res.class_name, self.options)
Expand Down

0 comments on commit 4a23097

Please sign in to comment.