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:
jupblb 2022-03-10 12:59:00 +01:00
parent 9e5efebb4c
commit 94c92f78e5
No known key found for this signature in database
GPG Key ID: 7FF80D1CBB5F2AC4

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 {