[#125] services/eacl: Fix undefined method usage

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-10-29 17:49:25 +03:00 committed by Alex Vanin
parent 20ed7c0d61
commit f34ad9e730

View file

@ -124,7 +124,7 @@ func matchFilters(hdrSrc TypedHeaderSource, filters []eacl.Filter) int {
}
// check header name
if header.GetKey() != filter.Name() {
if header.GetKey() != filter.Key() {
continue
}