Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nacx committed Mar 6, 2024
1 parent ad9536b commit 5ca9e3d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ func main() {
}
return nil
})
fipsLog := run.NewPreRunner("fips", func() error {
internal.LogFIPS()
return nil
})

g := run.Group{Logger: internal.Logger(internal.Default)}

Expand All @@ -59,15 +63,14 @@ func main() {
logging, // Set up the logging system
secretCtrl, // watch for secret updates and update the configuration
configLog, // log the configuration
fipsLog, // log whether FIPS is enabled
jwks, // start the JWKS provider
sessions, // start the session store
authzServer, // start the server
healthz, // start the health server
&signal.Handler{}, // handle graceful termination
)

internal.LogFIPS() // Print the FIPS status

if err := g.Run(); err != nil {
fmt.Printf("Unexpected exit: %v\n", err)
os.Exit(-1)
Expand Down

0 comments on commit 5ca9e3d

Please sign in to comment.