missed commit

This commit is contained in:
Todd Gruben 2019-02-11 14:35:50 -06:00 committed by Matt Jaffee
parent 8edd2b3d13
commit 186f034b16
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF

View file

@ -321,7 +321,7 @@ func NewServer(opts ...ServerOption) (*Server, error) {
s.cluster.broadcaster = s
s.cluster.maxWritesPerRequest = s.maxWritesPerRequest
s.holder.broadcaster = s
s.holder.shardValidatorfn = func(index string, shard uint64) bool {
s.holder.shardValidatorFunc = func(index string, shard uint64) bool {
return s.cluster.ownsShard(s.nodeID, index, shard)
}