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:
jupblb 2022-03-10 12:59:00 +01:00 committed by Kubernetes Publisher
parent 433db7935a
commit c0c615eb7a
1 changed files with 0 additions and 1 deletions

View File

@ -110,7 +110,6 @@ func WithPriorityAndFairness(
httplog.AddKeyValue(ctx, "apf_pl", truncateLogField(pl.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 := func() flowcontrolrequest.WorkEstimate {