Skip to content

Commit

Permalink
docs: fix Rule spec document typos
Browse files Browse the repository at this point in the history
fix typos for natural sentences

Signed-off-by: Noriki Takahashi <noriki6t@gmail.com>
  • Loading branch information
nrnrk authored and aditighag committed Mar 16, 2023
1 parent 52ace8e commit a97f1f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/policy/api/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type Rule struct {
Ingress []IngressRule `json:"ingress,omitempty"`

// IngressDeny is a list of IngressDenyRule which are enforced at ingress.
// Any rule inserted here will by denied regardless of the allowed ingress
// Any rule inserted here will be denied regardless of the allowed ingress
// rules in the 'ingress' field.
// If omitted or empty, this rule does not apply at ingress.
//
Expand All @@ -78,7 +78,7 @@ type Rule struct {
Egress []EgressRule `json:"egress,omitempty"`

// EgressDeny is a list of EgressDenyRule which are enforced at egress.
// Any rule inserted here will by denied regardless of the allowed egress
// Any rule inserted here will be denied regardless of the allowed egress
// rules in the 'egress' field.
// If omitted or empty, this rule does not apply at egress.
//
Expand Down

0 comments on commit a97f1f4

Please sign in to comment.