mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Remove apf_fd from httplog
Since flowDistinguisher may hold data identifying a user accessing the cluster this can be a source of a PII leak.
This commit is contained in:
parent
9e5efebb4c
commit
94c92f78e5
@ -110,7 +110,6 @@ func WithPriorityAndFairness(
|
|||||||
|
|
||||||
httplog.AddKeyValue(ctx, "apf_pl", truncateLogField(pl.Name))
|
httplog.AddKeyValue(ctx, "apf_pl", truncateLogField(pl.Name))
|
||||||
httplog.AddKeyValue(ctx, "apf_fs", truncateLogField(fs.Name))
|
httplog.AddKeyValue(ctx, "apf_fs", truncateLogField(fs.Name))
|
||||||
httplog.AddKeyValue(ctx, "apf_fd", truncateLogField(flowDistinguisher))
|
|
||||||
}
|
}
|
||||||
// estimateWork is called, if at all, after noteFn
|
// estimateWork is called, if at all, after noteFn
|
||||||
estimateWork := func() flowcontrolrequest.WorkEstimate {
|
estimateWork := func() flowcontrolrequest.WorkEstimate {
|
||||||
|
Loading…
Reference in New Issue
Block a user