From 54f5b5d58bff68ab52dd16bdc1593be82d6e8e74 Mon Sep 17 00:00:00 2001 From: Grant Rodgers Date: Tue, 13 Nov 2018 10:02:45 -0800 Subject: [PATCH] Print the string instead of the pointer (#99) Fixes a compile error complaining about using a string directive on a pointer. --- cmd/githubsource/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/githubsource/main.go b/cmd/githubsource/main.go index a1ed0fda19..c2991b5865 100644 --- a/cmd/githubsource/main.go +++ b/cmd/githubsource/main.go @@ -54,7 +54,7 @@ func main() { log.Fatalf("No secret token given") } - log.Printf("Sink is: %q", sink) + log.Printf("Sink is: %q", *sink) ra := &githubsource.GitHubReceiveAdapter{ Sink: *sink,