From 22ba5eb0756d4eb936db3d911be7a79fffbb142e Mon Sep 17 00:00:00 2001 From: Cao Shufeng Date: Tue, 16 May 2017 17:57:00 +0800 Subject: [PATCH] Fix docs for advanced audit --- staging/src/k8s.io/apiserver/pkg/apis/audit/types.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/staging/src/k8s.io/apiserver/pkg/apis/audit/types.go b/staging/src/k8s.io/apiserver/pkg/apis/audit/types.go index c820047a97..90efc268f6 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/audit/types.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/audit/types.go @@ -48,7 +48,6 @@ type Event struct { // Time the request reached the apiserver. Timestamp metav1.Time // Unique audit ID, generated for each request. - // +optional AuditID types.UID // RequestURI is the request URI as sent by the client to a server. RequestURI string @@ -116,8 +115,8 @@ type PolicyRule struct { // An empty list implies every user. // +optional Users []string - // The user groups this rule applies to. If a user is considered matching - // if the are a member of any of these groups + // The user groups this rule applies to. A user is considered matching + // if it is a member of any of the UserGroups. // An empty list implies every user group. // +optional UserGroups []string