1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-01-10 04:18:14 +02:00

Merge pull request #1181 from iTaybb/master

fix: SHOW_DEBUG_ON_ERROR environment variable not working
This commit is contained in:
Joel Speed 2021-05-05 10:18:09 +01:00 committed by GitHub
commit 725ae543d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,8 @@
## Changes since v7.1.3 ## Changes since v7.1.3
- [#1181](https://github.com/oauth2-proxy/oauth2-proxy/pull/1181) Fix incorrect `cfg` name in show-debug-on-error flag (@iTaybb)
# V7.1.3 # V7.1.3
## Release Highlights ## Release Highlights

View File

@ -33,7 +33,7 @@ type Templates struct {
// It is not advised to use this in production as errors may contain sensitive // It is not advised to use this in production as errors may contain sensitive
// information. // information.
// Use only for diagnosing backend errors. // Use only for diagnosing backend errors.
Debug bool `flag:"show-debug-on-error" cfg:"show-debug-on-error"` Debug bool `flag:"show-debug-on-error" cfg:"show_debug_on_error"`
} }
func templatesFlagSet() *pflag.FlagSet { func templatesFlagSet() *pflag.FlagSet {