forked from projectcontour/contour
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/dag: stop embedding ServicePort in dag.Service (projectconto…
…ur#2785) The Kubernetes `v1.ServicePort` is embedded in `dag.Service` as a pointer field. There's no need to have a pointer here, since it is always assumed to be non-nil, and using the type as an explicit field makes is easier to see where it is used, and clarifies overlapping field (i.e. `Protocol`). This updates projectcontour#2769. Signed-off-by: James Peach <[email protected]>
- Loading branch information
Showing
9 changed files
with
76 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.