amakawa / redic

Lightweight Redis Client
MIT License
120 stars 14 forks source link

Fix when db is not provided, like on sentinels #4

Closed luca3m closed 10 years ago

luca3m commented 10 years ago

I got an error when connecting to sentinels. Redic called anyway the "SELECT" command which Redis Sentinels don't understand. I added another check before calling it.

soveran commented 10 years ago

@luca3m Great job, thanks a lot!

soveran commented 10 years ago

@luca3m It's already available in version 1.1.1.