mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-11 12:18:59 +00:00
fix(188): didn't call Stop when tsnet Server Listen failed (#226)
This commit is contained in:
1 parent
dcfd82c6e5
commit
5e680a7f25
1 file changed
-1
@@ -45,7 +45,6 @@ func initTailscale(ctx context.Context, cfg *config.Config, mux http.Handler) fu
|
||||
}
|
||||
if err != nil {
|
||||
slog.Warn("Tailscale listener failed to start", "error", err)
|
||||
srv.Close()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user