Skip to content

Commit 0350b23

Browse files
Ziincamokan
andauthored
fix: remove rejected events system source (#3012)
Co-authored-by: Adam Mokan <amokan@gmail.com>
1 parent e66535a commit 0350b23

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/logflare/sources/source.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ defmodule Logflare.Sources.Source do
107107
end
108108
end
109109

110-
@system_source_types [:rejected_events, :metrics, :logs]
110+
@system_source_types [:metrics, :logs]
111111

112112
typed_schema "sources" do
113113
field :name, :string

test/logflare/users/users_test.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ defmodule Logflare.UsersTest do
127127

128128
assert Enum.any?(system_sources, &(&1.system_source_type == :metrics))
129129
assert Enum.any?(system_sources, &(&1.system_source_type == :logs))
130-
assert Enum.any?(system_sources, &(&1.system_source_type == :rejected_events))
131130

132131
assert Users.Cache.get(user.id).system_monitoring
133132

0 commit comments

Comments
 (0)