Skip to content

Commit

Permalink
Remove debug print statement in sink_test.go
Browse files Browse the repository at this point in the history
Remove debug print statement in `sink_test.go`. Cleanup from PR
tektoncd#393.
  • Loading branch information
Brandon Walker committed Jan 29, 2020
1 parent e16ef2f commit b04cc83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/sink/sink_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,7 @@ func (f *nameInterceptor) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
// Write the name to the body
body := fmt.Sprintf(`{"name": "%s"}`, name)
fmt.Printf("~~~ body: %s\n", body)
w.Write([]byte(body))
_, _ = w.Write([]byte(body))
}

func TestHandleEventWithWebhookInterceptors(t *testing.T) {
Expand Down

0 comments on commit b04cc83

Please sign in to comment.