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:
commit
725ae543d5
@ -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
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user