diff --git a/cmd/example-gcp/main.go b/cmd/example-gcp/main.go index ad7414600..fb458178d 100644 --- a/cmd/example-gcp/main.go +++ b/cmd/example-gcp/main.go @@ -64,4 +64,8 @@ func main() { // TODO: Add entry to log and return assigned index. }) + + if err := http.ListenAndServe(*listen, http.DefaultServeMux); err != nil { + klog.Exitf("ListenAndServe: %v", err) + } }