sdk/v2: Fix typo found by golangci-lint

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-09-21 17:21:48 +03:00 committed by Stanislav Bogatyrev
parent 8e0ddc5579
commit f21cecfc43

View file

@ -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 {