This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 27d8eb0ef Update ingress.go
27d8eb0ef is described below

commit 27d8eb0ef4689d707636e787b95ad398502b5f0f
Author: cfitzw <20694057+cfi...@users.noreply.github.com>
AuthorDate: Tue Jan 14 12:04:06 2025 -0600

    Update ingress.go
---
 pkg/apis/camel/v1/trait/ingress.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/apis/camel/v1/trait/ingress.go 
b/pkg/apis/camel/v1/trait/ingress.go
index f8125bff1..00bffc845 100644
--- a/pkg/apis/camel/v1/trait/ingress.go
+++ b/pkg/apis/camel/v1/trait/ingress.go
@@ -37,9 +37,9 @@ type IngressTrait struct {
        // To configure the host exposed by the ingress.
        Host string `property:"host" json:"host,omitempty"`
        // To configure the path exposed by the ingress (default `/`).
+       // Deprecated: In favor of `paths` - left for backward compatibility.
        Path string `property:"path" json:"path,omitempty"`
        // To configure the paths exposed by the ingress (default `['/']`).
-       // Deprecated: In favor of `paths` - left for backward compatibility.
        Paths []string `property:"paths" json:"paths,omitempty"`
        // To configure the path type exposed by the ingress.
        // One of `Exact`, `Prefix`, `ImplementationSpecific` (default to 
`Prefix`).

Reply via email to