From aea8c6a8d815ef5e5e1ecb4247ab3d7c96cfc082 Mon Sep 17 00:00:00 2001 From: Peter Engelbert Date: Thu, 26 Feb 2026 16:30:03 -0500 Subject: [PATCH] Fix Deprecation message in doc comment Signed-off-by: Peter Engelbert Kubernetes-commit: 71a7aeaff0f57dc53067c32f418f06c98cbbe7ee --- pkg/config/v1beta1/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/config/v1beta1/types.go b/pkg/config/v1beta1/types.go index 7b2aa17b2..f019bbb37 100644 --- a/pkg/config/v1beta1/types.go +++ b/pkg/config/v1beta1/types.go @@ -116,13 +116,13 @@ const ( // the logical AND of all checks corresponding to the specified fields within // the entry. type AllowlistEntry struct { - // Deprecated: use Command instead - // Name 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 // will be considered a failure. + // + // Deprecated: use Command instead. Name string `json:"name,omitempty"` // 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