Skip to content

Commit

Permalink
Disable logger development mode to avoid panicking (#113)
Browse files Browse the repository at this point in the history
* Disable logger development mode to avoid panicking

* CHANGELOG

* nancy-ignore update
  • Loading branch information
ssyno authored Sep 20, 2024
1 parent f70ce23 commit 355637e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .nancy-ignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
CVE-2020-8561 until=2024-01-01
CVE-2023-48795 until=2024-09-01
CVE-2024-24786 until=2024-09-01
CVE-2023-48795 until=2024-11-01
CVE-2024-24786 until=2024-11-01
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Disable zap logger development mode to avoid panicking

## [0.12.2] - 2024-07-25

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func main() {
flag.StringVar(&giantswarmWriteAllGroups, "giantswarm-write-all-groups", "", "Comma separated list of giantswarm admin groups.")
flag.StringVar(&customerWriteAllGroups, "customer-write-all-groups", "", "Comma separated list of customer admin groups.")
opts := zap.Options{
Development: true,
Development: false,
TimeEncoder: zapcore.RFC3339TimeEncoder,
}
opts.BindFlags(flag.CommandLine)
Expand Down

0 comments on commit 355637e

Please sign in to comment.