From 4f9fe93146cbc556828010ae6e66726fb75ce458 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Wed, 2 Nov 2022 10:01:21 +0100 Subject: [PATCH] golangci-lint --fix Signed-off-by: Kristoffer Dalby --- integration/hsic/config.go | 12 ++++-------- integration/scenario.go | 3 +-- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/integration/hsic/config.go b/integration/hsic/config.go index 267a9934..456ea478 100644 --- a/integration/hsic/config.go +++ b/integration/hsic/config.go @@ -1,13 +1,9 @@ package hsic -import ( - "time" -) - -const ( - defaultEphemeralNodeInactivityTimeout = time.Second * 30 - defaultNodeUpdateCheckInterval = time.Second * 10 -) +// const ( +// defaultEphemeralNodeInactivityTimeout = time.Second * 30 +// defaultNodeUpdateCheckInterval = time.Second * 10 +// ) // TODO(kradalby): This approach doesnt work because we cannot // serialise our config object to YAML or JSON. diff --git a/integration/scenario.go b/integration/scenario.go index 6847db7d..392de694 100644 --- a/integration/scenario.go +++ b/integration/scenario.go @@ -55,8 +55,7 @@ type Namespace struct { syncWaitGroup sync.WaitGroup } -// TODO(kradalby): make control server configurable, test test correctness with -// Tailscale SaaS. +// TODO(kradalby): make control server configurable, test correctness with Tailscale SaaS. type Scenario struct { // TODO(kradalby): support multiple headcales for later, currently only // use one.