internal: fix linting error
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
d1aa1f46da
commit
a42f2f7217
|
@ -28,7 +28,7 @@ func EnableDebugServer() {
|
||||||
enc := json.NewEncoder(w)
|
enc := json.NewEncoder(w)
|
||||||
enc.SetEscapeHTML(true)
|
enc.SetEscapeHTML(true)
|
||||||
enc.SetIndent("", "\t")
|
enc.SetIndent("", "\t")
|
||||||
enc.Encode(config.Get())
|
_ = enc.Encode(config.Get())
|
||||||
})
|
})
|
||||||
h.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
h.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||||
_ = h.Walk(func(route *mux.Route, router *mux.Router, ancestors []*mux.Route) error {
|
_ = h.Walk(func(route *mux.Route, router *mux.Router, ancestors []*mux.Route) error {
|
||||||
|
|
Reference in New Issue