golangci-lint --fix

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2022-11-02 10:01:21 +01:00 committed by Juan Font
parent 96fe6aa3a1
commit 4f9fe93146
2 changed files with 5 additions and 10 deletions

View File

@ -1,13 +1,9 @@
package hsic package hsic
import ( // const (
"time" // 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 // TODO(kradalby): This approach doesnt work because we cannot
// serialise our config object to YAML or JSON. // serialise our config object to YAML or JSON.

View File

@ -55,8 +55,7 @@ type Namespace struct {
syncWaitGroup sync.WaitGroup syncWaitGroup sync.WaitGroup
} }
// TODO(kradalby): make control server configurable, test test correctness with // TODO(kradalby): make control server configurable, test correctness with Tailscale SaaS.
// Tailscale SaaS.
type Scenario struct { type Scenario struct {
// TODO(kradalby): support multiple headcales for later, currently only // TODO(kradalby): support multiple headcales for later, currently only
// use one. // use one.