Skip to content

Commit

Permalink
Corrected a typo
Browse files Browse the repository at this point in the history
Signed-off-by: GLVS Kiriti <[email protected]>
  • Loading branch information
GLVSKiriti authored and poiana committed Mar 14, 2024
1 parent 31789dc commit 35ff9c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ An *action* is a `func` that implements `events.Action` interface, and when call

- Use the name of the rule the action is intended for, remove all non-alphanumeric characters (eg. `s/[^([:alpha:]|[:digit:]]//g`), and convert it to:
- *CamelCase* for function name (eg. `WriteBelowEtc`),
- *underscore_case* for file name (eg. `write_below_etc.go`), alternativelly *dash-case* is accetable to for file types other than `.go` (eg. `create-privileged-pod.yaml`).
- *underscore_case* for file name (eg. `write_below_etc.go`), alternativelly *dash-case* is acceptable to for file types other than `.go` (eg. `create-privileged-pod.yaml`).
- The resulting action name must match the name of the rule stripped of all non-alphanumeric characters when comparing those strings in a case insensitive manner.

### Registration
Expand Down

0 comments on commit 35ff9c5

Please sign in to comment.