Skip to content

Commit

Permalink
Disable logger development mode to avoid panicking (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssyno authored Sep 20, 2024
1 parent 89746ca commit 2f29b2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Disable zap logger development mode to avoid panicking
- Ownership change to Shield

## [2.0.1] - 2024-08-13
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func main() {
flag.BoolVar(&enableHTTP2, "enable-http2", false,
"If set, HTTP/2 will be enabled for the metrics and webhook servers")
opts := zap.Options{
Development: true,
Development: false,
}
opts.BindFlags(flag.CommandLine)
flag.Parse()
Expand Down

0 comments on commit 2f29b2b

Please sign in to comment.