forked from TrueCloudLab/frostfs-sdk-go
parent
c0c0c588b5
commit
5d62cef27e
2 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,6 @@ func (m NetMap) ContainerNodes(p PlacementPolicy, pivot []byte) ([][]NodeInfo, e
|
|||
}
|
||||
result[i] = append(result[i], flattenNodes(nodes)...)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return result, nil
|
||||
|
|
|
@ -374,6 +374,7 @@ func (p *PlacementPolicy) AddFilters(fs ...Filter) {
|
|||
// the result into w. Returns w's errors directly.
|
||||
//
|
||||
// See also DecodeString.
|
||||
// nolint: funlen
|
||||
func (p PlacementPolicy) WriteStringTo(w io.StringWriter) (err error) {
|
||||
if p.unique {
|
||||
if _, err := w.WriteString("UNIQUE\n"); err != nil {
|
||||
|
|
Loading…
Reference in a new issue