From 6d8c18d4de57247895449e364f693b406660625a Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 18 Oct 2022 12:21:38 +0200 Subject: [PATCH] Fix golangcilint Signed-off-by: Kristoffer Dalby --- integration/scenario.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/integration/scenario.go b/integration/scenario.go index 0b8d2022..ebe3aff2 100644 --- a/integration/scenario.go +++ b/integration/scenario.go @@ -17,9 +17,11 @@ import ( "github.com/ory/dockertest/v3" ) -const scenarioHashLength = 6 -const maxWait = 60 * time.Second -const headscalePort = 8080 +const ( + scenarioHashLength = 6 + maxWait = 60 * time.Second + headscalePort = 8080 +) var ( errNoHeadscaleAvailable = errors.New("no headscale available")