forked from TrueCloudLab/frostfs-api-go
sdk/v2: Fix typo found by golangci-lint
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
8e0ddc5579
commit
f21cecfc43
1 changed files with 1 additions and 2 deletions
|
@ -252,9 +252,8 @@ func (p *PlacementPolicy) GetFilters() []*Filter {
|
||||||
|
|
||||||
func (p *PlacementPolicy) SetFilters(filters []*Filter) {
|
func (p *PlacementPolicy) SetFilters(filters []*Filter) {
|
||||||
if p != nil {
|
if p != nil {
|
||||||
|
p.filters = filters
|
||||||
}
|
}
|
||||||
p.filters = filters
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *PlacementPolicy) GetSelectors() []*Selector {
|
func (p *PlacementPolicy) GetSelectors() []*Selector {
|
||||||
|
|
Loading…
Reference in a new issue