From c972f8d19b9519e016b97a1ed32e86c86f10eef0 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 0b8d2022c8f..ebe3aff2c02 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")