From d71305be05a33db05dc78c97e5387b72ce1fe83f Mon Sep 17 00:00:00 2001 From: TzeYiing Date: Thu, 9 May 2024 13:58:41 +0800 Subject: [PATCH] chore: PR review, remove apply --- lib/logflare/sources/source_routing.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logflare/sources/source_routing.ex b/lib/logflare/sources/source_routing.ex index cc1d46ec0..1cefcd089 100644 --- a/lib/logflare/sources/source_routing.ex +++ b/lib/logflare/sources/source_routing.ex @@ -72,7 +72,7 @@ defmodule Logflare.Logs.SourceRouting do le_value >= lvalue and le_value <= rvalue operator == :list_includes -> - apply(Kernel, :==, [le_value, value]) + le_value == value operator == :string_contains -> String.contains?(le_str_value, stringify(value))