From 47f9f26165adf4464eaa4c4564c19e84e1791c43 Mon Sep 17 00:00:00 2001 From: Joshua Casey Date: Thu, 6 Jul 2023 09:14:56 -0700 Subject: [PATCH] Update godoc --- internal/concierge/server/server.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/concierge/server/server.go b/internal/concierge/server/server.go index 828745f2f1..a3ede9778d 100644 --- a/internal/concierge/server/server.go +++ b/internal/concierge/server/server.go @@ -256,7 +256,8 @@ func getAggregatedAPIServerConfig( return apiServerConfig, nil } -func main() error { // return an error instead of plog.Fatal to allow defer statements to run +// main returns an error instead of calling plog.Fatal to allow defer statements to run +func main() error { defer plog.Setup()() // Dump out the time since compile (mostly useful for benchmarking our local development cycle latency).