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