netmap: Fix setters for Replica.DataCount/ParityCount #220

Merged
fyrchik merged 1 commit from acid-ant/frostfs-sdk-go:bugfix/fix-replica into master 2024-05-07 07:17:35 +00:00

View file

@ -139,11 +139,11 @@ func (r *ReplicaDescriptor) SetNumberOfObjects(c uint32) {
r.m.SetCount(c)
}
func (r ReplicaDescriptor) SetECDataCount(v uint32) {
func (r *ReplicaDescriptor) SetECDataCount(v uint32) {
r.m.SetECDataCount(v)
}
func (r ReplicaDescriptor) SetECParityCount(v uint32) {
func (r *ReplicaDescriptor) SetECParityCount(v uint32) {
r.m.SetECParityCount(v)
}