Skip to content

Commit 6c29882

Browse files
kayx23Copilot
andauthored
Apply suggestions from review
Co-authored-by: Copilot <[email protected]>
1 parent a0696fb commit 6c29882

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

api/v1alpha1/httproutepolicy_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type HTTPRoutePolicy struct {
4242
metav1.TypeMeta `json:",inline"`
4343
metav1.ObjectMeta `json:"metadata,omitempty"`
4444

45-
// HTTPRoutePolicySpec defines the defines the desired state and configuration of a HTTPRoutePolicy,
45+
// HTTPRoutePolicySpec defines the desired state and configuration of a HTTPRoutePolicy,
4646
// including route priority and request matching conditions.
4747
Spec HTTPRoutePolicySpec `json:"spec,omitempty"`
4848
Status PolicyStatus `json:"status,omitempty"`

config/crd/bases/apisix.apache.org_httproutepolicies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
type: object
3939
spec:
4040
description: |-
41-
HTTPRoutePolicySpec defines the defines the desired state and configuration of a HTTPRoutePolicy,
41+
HTTPRoutePolicySpec defines the desired state and configuration of a HTTPRoutePolicy,
4242
including route priority and request matching conditions.
4343
properties:
4444
priority:

docs/crd/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ HTTPRoutePolicy is the Schema for the httproutepolicies API.
7979
| `apiVersion` _string_ | `apisix.apache.org/v1alpha1`
8080
| `kind` _string_ | `HTTPRoutePolicy`
8181
| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#objectmeta-v1-meta)_ | Please refer to the Kubernetes API documentation for details on the `metadata` field. |
82-
| `spec` _[HTTPRoutePolicySpec](#httproutepolicyspec)_ | HTTPRoutePolicySpec defines the defines the desired state and configuration of a HTTPRoutePolicy, including route priority and request matching conditions. |
82+
| `spec` _[HTTPRoutePolicySpec](#httproutepolicyspec)_ | HTTPRoutePolicySpec defines the desired state and configuration of a HTTPRoutePolicy, including route priority and request matching conditions. |
8383

8484

8585

0 commit comments

Comments
 (0)