netmap: Fix setters for Replica.DataCount/ParityCount
#220
1 changed files with 2 additions and 2 deletions
|
@ -139,11 +139,11 @@ func (r *ReplicaDescriptor) SetNumberOfObjects(c uint32) {
|
||||||
r.m.SetCount(c)
|
r.m.SetCount(c)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ReplicaDescriptor) SetECDataCount(v uint32) {
|
func (r *ReplicaDescriptor) SetECDataCount(v uint32) {
|
||||||
r.m.SetECDataCount(v)
|
r.m.SetECDataCount(v)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ReplicaDescriptor) SetECParityCount(v uint32) {
|
func (r *ReplicaDescriptor) SetECParityCount(v uint32) {
|
||||||
r.m.SetECParityCount(v)
|
r.m.SetECParityCount(v)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue