Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b7c41a

Browse files
committed
Log the derpmap being used
1 parent 435bbbb commit 9b7c41a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

agent/agent.go

+1
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ func (a *agent) runTailnet(ctx context.Context, derpMap *tailcfg.DERPMap) {
170170
if a.isClosed() {
171171
return
172172
}
173+
a.logger.Debug(ctx, "running tailnet with derpmap", slog.F("derpmap", derpMap))
173174
if a.network != nil {
174175
a.network.SetDERPMap(derpMap)
175176
return

0 commit comments

Comments
 (0)