git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #1181 from iTaybb/master

fix: SHOW_DEBUG_ON_ERROR environment variable not working

commit725ae543d5e98922a5285bcfcecafaf558115d35 authorJoel Speed <Joel.speed@hotmail.co.uk> dateWed 5 May 2021, 10:18 (5 years ago) parent88122f6095e1db
2 files changed+3−1
CHANGELOG.md+2 pkg/apis/options/app.go+1−1
CHANGELOG.md+2
@@ -8,6 +8,8 @@
88
99## Changes since v7.1.3
1010
11+- [#1181](https://github.com/oauth2-proxy/oauth2-proxy/pull/1181) Fix incorrect `cfg` name in show-debug-on-error flag (@iTaybb)
12+
1113# V7.1.3
1214
1315## Release Highlights
pkg/apis/options/app.go+1−1
@@ -33,7 +33,7 @@ type Templates struct {
3333 // It is not advised to use this in production as errors may contain sensitive
3434 // information.
3535 // 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"`
3737}
3838
3939func templatesFlagSet() *pflag.FlagSet {