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. Kubernetes-commit: 94c92f78e5b02c27502f3b9d59b4e194e476a6f4
This commit is contained in:
parent
433db7935a
commit
c0c615eb7a
|
|
@ -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