diff --git a/server.go b/server.go index 22f9f390b..5a311918f 100644 --- a/server.go +++ b/server.go @@ -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) }