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
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.

View File

@ -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.