mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
Update doc comment
Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user