Merge pull request #14320 from briangann/20181104_remove_trace_output_for_routes

redact value for plugin proxy routes
This commit is contained in:
Torkel Ödegaard 2018-12-05 06:52:32 +01:00 committed by GitHub
commit a6ef156922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ func NewApiPluginProxy(ctx *m.ReqContext, proxyPath string, route *plugins.AppPl
}
for key, value := range headers {
log.Trace("setting key %v value %v", key, value[0])
log.Trace("setting key %v value <redacted>", key)
req.Header.Set(key, value[0])
}
}