(err error)
| 606 | } |
| 607 | |
| 608 | func (s *Server) handleRegisterFailure(err error) { |
| 609 | if s.ctx.Err() != nil { |
| 610 | return |
| 611 | } |
| 612 | s.Logger.Fatal(s.ctx, |
| 613 | "failed to periodically re-register workspace proxy with primary Coder deployment", |
| 614 | slog.Error(err), |
| 615 | ) |
| 616 | } |
| 617 | |
| 618 | func (s *Server) buildInfo(rw http.ResponseWriter, r *http.Request) { |
| 619 | httpapi.Write(r.Context(), rw, http.StatusOK, codersdk.BuildInfoResponse{ |