Update doc comment

Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
This commit is contained in:
Peter Engelbert
2026-02-26 13:46:47 -05:00
parent 8203f2b53f
commit cede69d558

View File

@@ -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"`
}