Merge pull request #69043 from deads2k/auth-01-logging

make sure that log includes user information
This commit is contained in:
k8s-ci-robot 2018-09-27 07:18:31 -07:00 committed by GitHub
commit 05196d752b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ func (n nodeAuthorizerAttributesGetter) GetRequestAttributes(u user.Info, r *htt
attrs.Subresource = "spec"
}
glog.V(5).Infof("Node request attributes: attrs=%#v", attrs)
glog.V(5).Infof("Node request attributes: user=%#v attrs=%#v", attrs.GetUser(), attrs)
return attrs
}