Skip to content

Commit 91054ef

Browse files
spikecurtisjaaydenh
authored andcommitted
chore: refactor tailnetAPIConnector to use dialer (#15347)
refactors `tailnetAPIConnector` to use the `Dialer` interface in `tailnet`, introduced lower in this stack of PRs. This will let us use the same Tailnet API handling code across different things that connect to the Tailnet API (CLI client, coderd, workspace proxies, and soon: Coder VPN). chore re: #14729
1 parent 27f6efa commit 91054ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tailnet/controllers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ func newBasicResumeTokenRefresher(
615615
errCh: make(chan error, 1),
616616
}
617617
r.ctx, r.cancel = context.WithCancel(context.Background())
618-
r.timer = clock.AfterFunc(never, r.refresh)
618+
r.timer = clock.AfterFunc(never, r.refresh, "basicResumeTokenRefresher")
619619
go r.refresh()
620620
return r
621621
}

0 commit comments

Comments
 (0)