From 8565c712a51de22bd8bd615c1e46496945294a42 Mon Sep 17 00:00:00 2001 From: Brandur Date: Mon, 8 Jan 2018 15:18:12 -0800 Subject: [PATCH] Correct `Fprintf` format verb Go-tip is failing because it looks like `Fprintf` got a little more picky about the use of inappropriate verbs. `%t` is meant to be used for booleans (it prints the word "true" or "false"). I think what we actually wanted here was `%v`. --- webhook/client_handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhook/client_handler_test.go b/webhook/client_handler_test.go index 099f968999..5438b16509 100644 --- a/webhook/client_handler_test.go +++ b/webhook/client_handler_test.go @@ -28,7 +28,7 @@ func Example() { } defer req.Body.Close() - fmt.Fprintf(w, "Received signed event: %t", event) + fmt.Fprintf(w, "Received signed event: %v", event) }) log.Fatal(http.ListenAndServe(":8080", nil)) }