mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-30 02:43:05 +00:00
golangci-lint --fix
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
96fe6aa3a1
commit
4f9fe93146
2 changed files with 5 additions and 10 deletions
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue