junegunn / redis-stat

(UNMAINTAINED) A real-time Redis monitoring tool
MIT License
2.03k stars 339 forks source link

support severs with different passwords #51

Closed xiaochai closed 8 years ago

xiaochai commented 8 years ago

9

junegunn commented 8 years ago

Thanks for the simple solution. Passing :password property has a side-effect of Redis with no password setup complaining if password is provided, so it kind of breaks backward compatibility but I think it's fine.

Using : as the delimiter requires that we specify the port even when we use the default port, so I'm going to change the format to HOST[:PORT][/PASS]. I'll also remove some code that is no longer necessary with the use of :password property.