From 87e7431a3cd9c9054c1a36f9f23574cc85258700 Mon Sep 17 00:00:00 2001 From: Gregor Gololicic Date: Fri, 21 May 2021 20:30:56 +0200 Subject: [PATCH] remove to lower case due to multi word keys --- internal/command/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/command/command.go b/internal/command/command.go index b29567bd0..cba2a4369 100644 --- a/internal/command/command.go +++ b/internal/command/command.go @@ -331,7 +331,7 @@ func filterResultValue(result Result, filter string) (interface{}, error) { possibleFilters = append(possibleFilters, key) } - value := jsonResult[strings.ToLower(filter)] + value := jsonResult[filter] if value == nil { return nil, fmt.Errorf("value for filter: '%s' doesn't exists, possible values to filter by: %s", filter, possibleFilters)