From c20cb8da73a326cd99e5d654e8cadcd4acc3b2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edu=20G=C3=B3mez=20Escandell?= Date: Wed, 15 Nov 2023 12:15:05 +0100 Subject: [PATCH] Linter pass --- end-to-end/landscape_utils_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/end-to-end/landscape_utils_test.go b/end-to-end/landscape_utils_test.go index 7b15b2947..264302157 100644 --- a/end-to-end/landscape_utils_test.go +++ b/end-to-end/landscape_utils_test.go @@ -94,10 +94,7 @@ func (l landscape) RequireFinalTestChecks(t *testing.T, ctx context.Context, wan t.Helper() require.Eventually(t, func() bool { - if len(l.service.Hosts()) > 0 { - return true - } - return false + return len(l.service.Hosts()) > 0 }, time.Minute, time.Second, "Landscape should have had at least one connection") require.Len(t, l.service.Hosts(), 1, "Landscape should have had only one connection")