oscerd commented on a change in pull request #2790:
URL: https://github.com/apache/camel-k/pull/2790#discussion_r758304111
##########
File path: pkg/trait/container.go
##########
@@ -68,7 +68,7 @@ type containerTrait struct {
Expose *bool `property:"expose" json:"expose,omitempty"`
// To configure a different port exposed by the container (default
`8080`).
Port int `property:"port" json:"port,omitempty"`
- // To configure a different port name for the port exposed by the
container (default `http`).
+ // To configure a different port name for the port exposed by the
container. it defaults to `http` only when the `expose` parameter is true.
Review comment:
should be fine now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]