From d20b09315807d3de428a68ea51d8b37e2f6ada2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Fri, 6 Feb 2026 14:45:33 +0400 Subject: [PATCH] Fix lint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- e2e/internal/factory/factory.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/e2e/internal/factory/factory.go b/e2e/internal/factory/factory.go index 7a620e62e..d86f67ecd 100644 --- a/e2e/internal/factory/factory.go +++ b/e2e/internal/factory/factory.go @@ -92,18 +92,6 @@ func (a Attrs) getBool(key string, defaultVal bool) bool { return defaultVal } -func (a Attrs) getSlice(key string, defaultVal []string) []string { - if a == nil { - return defaultVal - } - if v, ok := a[key]; ok { - if slice, ok := v.([]string); ok { - return slice - } - } - return defaultVal -} - func CreateVendor(c *testutil.Client, attrs ...Attrs) string { c.T.Helper()