From 64f072b7d29c54f87a8d701ebdccb1044260e989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sat, 11 Aug 2018 08:31:18 +0100 Subject: [PATCH] fix(style): simplify assignments --- internal/filters/filter.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/filters/filter.go b/internal/filters/filter.go index d9f684239..ecc776627 100644 --- a/internal/filters/filter.go +++ b/internal/filters/filter.go @@ -86,9 +86,9 @@ func NewFilter(expression string) FilterT { } } - matched, _ := result["matched"] - operator, _ := result["operator"] - value, _ := result["value"] + matched := result["matched"] + operator := result["operator"] + value := result["value"] if matched == "" && operator == "" && value == "" { // no "filter=" part, just the value, use fuzzy filter