Fixed overwriting standard with inverse max slice

This commit is contained in:
Michael Baird 2017-10-30 15:28:12 -05:00
parent c360ca2975
commit 3539c6ffb5

View file

@ -443,7 +443,7 @@ func (s *Server) mergeRemoteStatus(ns *internal.NodeStatus) error {
}
if newMaxInverse > oldMaxInverseSlices[index] {
oldMaxInverseSlices[index] = newMaxInverse
localIndex.SetRemoteMaxSlice(newMaxInverse)
localIndex.SetRemoteMaxInverseSlice(newMaxInverse)
}
}