From 40c048fb45b490632a5be61cc7ddc61a97afc7ae Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Sun, 23 Oct 2022 12:01:03 +0200 Subject: [PATCH] Fix lint Signed-off-by: Kristoffer Dalby --- integration/general_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/general_test.go b/integration/general_test.go index 501be87f..4e2e3ab7 100644 --- a/integration/general_test.go +++ b/integration/general_test.go @@ -94,8 +94,8 @@ func TestPingAllByHostname(t *testing.T) { t.Errorf("failed to create headscale environment: %s", err) } - var allClients []TailscaleClient - var allHostnames []string + allClients := make([]TailscaleClient, 0) + allHostnames := make([]string, 0) for namespace := range spec { clients, err := scenario.GetClients(namespace)