From 5653fdef4616d3a9dc2e543424b3ae95bbd318aa Mon Sep 17 00:00:00 2001 From: Stig Otnes Kolstad Date: Wed, 27 Nov 2024 11:54:48 +0100 Subject: [PATCH] chore: log store initialisation status Fixes #171 --- cmd/terraform-registry/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/terraform-registry/main.go b/cmd/terraform-registry/main.go index 3a1fc21..61b629c 100644 --- a/cmd/terraform-registry/main.go +++ b/cmd/terraform-registry/main.go @@ -191,6 +191,7 @@ func main() { logger.Warn("authentication disabled") } + logger.Info("initialising stores") // Configure the chosen store type switch storeType { case "github": @@ -200,6 +201,7 @@ func main() { default: logger.Fatal("invalid store type", zap.String("selected", storeType)) } + logger.Info("store initialisation complete") srv := http.Server{ Addr: listenAddr,