1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

Check that clients implement scripter interface.

This commit is contained in:
Vladimir Mihailenco
2016-12-14 12:12:50 +02:00
parent c6acf2ed15
commit 34122bffa8
6 changed files with 9 additions and 8 deletions

View File

@ -136,8 +136,6 @@ type Ring struct {
closed bool
}
var _ Cmdable = (*Ring)(nil)
func NewRing(opt *RingOptions) *Ring {
const nreplicas = 100
opt.init()