Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! fix: Improve closure of provisioner and agent tailnet dial
  • Loading branch information
mafredri committed Feb 14, 2023
commit f5a53dbbe1d14aa93fd49f7a4e5c2de77d7a38c6
2 changes: 1 addition & 1 deletion provisionerd/provisionerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ func (p *Server) closeWithError(err error) error {
p.opts.Logger.Debug(context.Background(), "closing server with error", slog.Error(err))

if c, ok := p.clientValue.Load().(proto.DRPCProvisionerDaemonClient); ok {
_ = c.Close()
_ = c.DRPCConn().Close()
}

return err
Expand Down