From 1841798646e1c9f9852361df901df689611521bf Mon Sep 17 00:00:00 2001 From: RoyUP9 <87927115+RoyUP9@users.noreply.github.com> Date: Wed, 22 Sep 2021 09:44:02 +0300 Subject: [PATCH] Fix: analysis feature (#292) --- agent/pkg/database/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/pkg/database/main.go b/agent/pkg/database/main.go index 63fa8b1ce..aedf9ac4f 100644 --- a/agent/pkg/database/main.go +++ b/agent/pkg/database/main.go @@ -61,7 +61,7 @@ func GetEntriesFromDb(timestampFrom int64, timestampTo int64, protocolName *stri order := OrderDesc protocolNameCondition := "1 = 1" if protocolName != nil { - protocolNameCondition = fmt.Sprintf("protocolKey = '%s'", *protocolName) + protocolNameCondition = fmt.Sprintf("protocolName = '%s'", *protocolName) } var entries []tapApi.MizuEntry