File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,13 @@ package main
17
17
18
18
import (
19
19
" context"
20
- " log"
21
20
" os"
22
21
23
22
tsclient " github.com/tailscale/tailscale-client-go/v2"
24
23
)
25
24
26
25
func main () {
27
- &tsclient.Client {
26
+ client := &tsclient.Client {
28
27
Tailnet: os.Getenv (" TAILSCALE_TAILNET" ),
29
28
APIKey: os.Getenv (" TAILSCALE_API_KEY" ),
30
29
}
@@ -40,18 +39,12 @@ package main
40
39
41
40
import (
42
41
" context"
43
- " log"
44
42
" os"
45
43
46
44
tsclient " github.com/tailscale/tailscale-client-go/v2"
47
45
)
48
46
49
47
func main () {
50
- oauthClientID :=
51
- oauthClientID :=
52
- oauthScopes := []string {" all:write" }
53
- tailnet := os.Getenv (" TAILSCALE_TAILNET" )
54
-
55
48
client := &tsclient.Client {
56
49
Tailnet: os.Getenv (" TAILSCALE_TAILNET" ),
57
50
HTTP: tsclient.OAuthConfig {
You can’t perform that action at this time.
0 commit comments