[k8s.io/apiserver/pkg/server/filters]: fixup go vet warning

Signed-off-by: Zhou Peng <p@ctriple.cn>

Kubernetes-commit: 842cd8e315566388025f509edf563b20022922f6
This commit is contained in:
Zhou Peng 2020-07-20 17:06:01 +08:00 committed by Kubernetes Publisher
parent 899cb1b459
commit b07fe5362d
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ func WithPriorityAndFairness(
w.Header().Set(responseHeaderMatchedFlowSchemaUID, string(classification.FlowSchemaUID))
handler.ServeHTTP(w, innerReq)
}
digest := utilflowcontrol.RequestDigest{requestInfo, user}
digest := utilflowcontrol.RequestDigest{RequestInfo: requestInfo, User: user}
fcIfc.Handle(ctx, digest, note, func(inQueue bool) {
if inQueue {
noteWaitingDelta(1)