Skip to content

Commit

Permalink
chore: log store initialisation status
Browse files Browse the repository at this point in the history
Fixes #171
  • Loading branch information
stigok committed Nov 27, 2024
1 parent 75303a9 commit 5653fde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/terraform-registry/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ func main() {
logger.Warn("authentication disabled")
}

logger.Info("initialising stores")
// Configure the chosen store type
switch storeType {
case "github":
Expand All @@ -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,
Expand Down

0 comments on commit 5653fde

Please sign in to comment.