You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-06-21 00:29:44 +02:00
Fixup main with Verbose type
This commit is contained in:
4
main.go
4
main.go
@ -52,12 +52,12 @@ func main() {
|
||||
// When running with trace logging, start by logging the observed config.
|
||||
// This will help users to determine if they have configured the proxy correctly.
|
||||
// NOTE: This data is not scrubbed and may contain secrets!
|
||||
if traceLogger().Enabled() {
|
||||
if traceLogger.Enabled() {
|
||||
config, err := json.Marshal(opts)
|
||||
if err != nil {
|
||||
klog.Fatalf("ERROR: %v", err)
|
||||
}
|
||||
traceLogger().Infof("Observed configuration: %s", string(config))
|
||||
traceLogger.Infof("Observed configuration: %s", string(config))
|
||||
}
|
||||
|
||||
if *convertConfig {
|
||||
|
Reference in New Issue
Block a user