Skip to content

Commit

Permalink
fix: typo (#4369)
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
  • Loading branch information
testwill authored Sep 18, 2023
1 parent fe5390b commit 3090a15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ The NGINX Ingress Controller imposes the following restrictions on Ingress resou
- When defining an Ingress resource, the `host` field is required.
- The `host` value needs to be unique among all Ingress and VirtualServer resources unless the Ingress resource is a [mergeable minion](/nginx-ingress-controller/configuration/ingress-resources/cross-namespace-configuration/). See also [Handling Host and Listener Collisions](/nginx-ingress-controller/configuration/handling-host-and-listener-collisions).
- The `path` field in `spec.rules[].http.paths[]` is required for `Exact` and `Prefix` `pathTypes`.
- The ImplementationSpecific `pathType` is treated as equivilent to `Prefix` `pathType`, with the exception that when this `pathType` is configured, the `path` field in `spec.rules[].http.paths[]` is not mandatory. `path` defaults to `/` if not set but the `pathType` is set to ImplementationSpecific.
- The ImplementationSpecific `pathType` is treated as equivalent to `Prefix` `pathType`, with the exception that when this `pathType` is configured, the `path` field in `spec.rules[].http.paths[]` is not mandatory. `path` defaults to `/` if not set but the `pathType` is set to ImplementationSpecific.

## Advanced Configuration

Expand Down
2 changes: 1 addition & 1 deletion tests/suite/test_virtual_server_error_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_redirect_strategy(self, kube_apis, crd_ingress_controller, virtual_serv
)
print(f"redirect to uri: {resp.next.url}")
except AttributeError as e:
print(f"Exception occured: {e}")
print(f"Exception occurred: {e}")
retry = +1
continue
break
Expand Down

0 comments on commit 3090a15

Please sign in to comment.