From 339db9acba4464d574cf6e399ba388269f5e66ad Mon Sep 17 00:00:00 2001 From: Paschalis Tsilias Date: Mon, 23 Oct 2023 13:10:09 +0300 Subject: [PATCH] fix tests Signed-off-by: Paschalis Tsilias --- component/common/relabel/relabel_test.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/component/common/relabel/relabel_test.go b/component/common/relabel/relabel_test.go index 35d141994bea..0a5d0c987954 100644 --- a/component/common/relabel/relabel_test.go +++ b/component/common/relabel/relabel_test.go @@ -38,14 +38,6 @@ func TestParseConfig(t *testing.T) { `, expectErr: true, }, - { - name: "missing dropequal source", - cfg: ` - action = "dropequal" - target_label = "foo" - `, - expectErr: true, - }, { name: "missing keepequal target", cfg: ` @@ -54,14 +46,6 @@ func TestParseConfig(t *testing.T) { `, expectErr: true, }, - { - name: "missing keepequal source", - cfg: ` - action = "keepequal" - target_label = "foo" - `, - expectErr: true, - }, { name: "unknown action", cfg: `