[#220] netmap: Fix setters for Replica.DataCount/ParityCount
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
12ddefe078
commit
99e02858af
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue