Skip to content

Commit

Permalink
chore(log): Fix capitalized log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 9, 2024
1 parent 7be418e commit c2ea093
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/debug/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func Serve(cmd *cobra.Command) error {
panic(err)
}

log.Info().Str("addr", addr).Msg("Starting debug server")
log.Info().Str("addr", addr).Msg("starting debug server")
server := &http.Server{
Addr: addr,
ReadHeaderTimeout: 3 * time.Second,
Expand Down
4 changes: 2 additions & 2 deletions internal/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func Flags(cmd *cobra.Command) {
var err error
enabledDefault, err = strconv.ParseBool(env)
if err != nil {
log.Warn().Err(err).Msg("Failed to parse env METRICS_ENABLED")
log.Warn().Err(err).Msg("failed to parse env METRICS_ENABLED")
}
}
cmd.PersistentFlags().Bool("metrics-enabled", enabledDefault, "Enables Prometheus metrics API")
Expand Down Expand Up @@ -47,7 +47,7 @@ func Serve(cmd *cobra.Command) error {
panic(err)
}

log.Info().Str("addr", addr).Msg("Starting metrics server")
log.Info().Str("addr", addr).Msg("starting metrics server")
server := &http.Server{
Addr: addr,
Handler: mux,
Expand Down

0 comments on commit c2ea093

Please sign in to comment.