add reconcile function, loud log multiple reps per dept
This commit is contained in:
parent
9ef2d7689d
commit
64ae38e11c
2 changed files with 41 additions and 6 deletions
|
|
@ -189,12 +189,6 @@ func (s *Server) handleWebhook(w http.ResponseWriter, r *http.Request) {
|
|||
w.WriteHeader(http.StatusOK)
|
||||
}
|
||||
|
||||
// reconcile is stubbed until piece 3 lands.
|
||||
func (s *Server) reconcile(ctx context.Context, runID int64, rep *User, dept string) error {
|
||||
log.Printf("run %d: would reconcile dept %q for rep %d", runID, dept, rep.ID)
|
||||
return nil
|
||||
}
|
||||
|
||||
// ST doesn't support setting headers so we use the URL
|
||||
|
||||
func (s *Server) validSecret(r *http.Request) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue