token credential request: fix trace log kind
Signed-off-by: Monis Khan <mok@vmware.com>
This commit is contained in:
parent
43ba6ba686
commit
e65817ad5b
@ -87,7 +87,7 @@ func (*REST) Categories() []string {
|
||||
func (r *REST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error) {
|
||||
t := trace.FromContext(ctx).Nest("create", trace.Field{
|
||||
Key: "kind",
|
||||
Value: obj.GetObjectKind().GroupVersionKind().Kind,
|
||||
Value: "TokenCredentialRequest",
|
||||
})
|
||||
defer t.Log()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user