git.iko.soy/typeable/oauth2-proxy
on master help sign in
fix: SHOW_DEBUG_ON_ERROR environment variable not working
095e1dbItay Brandes
CHANGELOG.md+2
@@ -8,6 +8,8 @@
8
8
9## Changes since v7.1.3
9## Changes since v7.1.3
10
10
11+- [#1181](https://github.com/oauth2-proxy/oauth2-proxy/pull/1181) Fix incorrect `cfg` name in show-debug-on-error flag (@iTaybb)
12+
11# V7.1.3
13# V7.1.3
12
14
13## Release Highlights
15## Release Highlights
pkg/apis/options/app.go+1−1
@@ -33,7 +33,7 @@ type Templates struct {
33 // It is not advised to use this in production as errors may contain sensitive
33 // It is not advised to use this in production as errors may contain sensitive
34 // information.
34 // information.
35 // Use only for diagnosing backend errors.
35 // Use only for diagnosing backend errors.
36− Debug bool `flag:"show-debug-on-error" cfg:"show-debug-on-error"`
36+ Debug bool `flag:"show-debug-on-error" cfg:"show_debug_on_error"`
37}
37}
38
38
39func templatesFlagSet() *pflag.FlagSet {
39func templatesFlagSet() *pflag.FlagSet {