From cede69d55800204a59640104f31417ebb4e2d563 Mon Sep 17 00:00:00 2001 From: Peter Engelbert Date: Thu, 26 Feb 2026 13:46:47 -0500 Subject: [PATCH] Update doc comment Signed-off-by: Peter Engelbert --- staging/src/k8s.io/kubectl/pkg/config/v1beta1/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/kubectl/pkg/config/v1beta1/types.go b/staging/src/k8s.io/kubectl/pkg/config/v1beta1/types.go index 575840b6f0e..7eaa4e6d856 100644 --- a/staging/src/k8s.io/kubectl/pkg/config/v1beta1/types.go +++ b/staging/src/k8s.io/kubectl/pkg/config/v1beta1/types.go @@ -123,10 +123,10 @@ type AllowlistEntry struct { // will be considered a failure. // Deprecated: use Command instead Name string `json:"name"` - // Name matching is performed by first resolving the absolute path of both + // Command matching is performed by first resolving the absolute path of both // the plugin and the name in the allowlist entry using `exec.LookPath`. It // will be called on both, and the resulting strings must be equal. If - // either call to `exec.LookPath` results in an error, the `Name` check + // either call to `exec.LookPath` results in an error, the `Command` check // will be considered a failure. Command string `json:"command"` }