-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(service): Show URL (external) instead of Address (internal) when listing service #247
Conversation
d6de493
to
5b10a2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -25,8 +25,8 @@ import ( | |||
// ServiceListHandlers adds print handlers for service list command | |||
func ServiceListHandlers(h hprinters.PrintHandler) { | |||
kServiceColumnDefinitions := []metav1beta1.TableColumnDefinition{ | |||
{Name: "Name", Type: "string", Description: "Name of the knative service."}, | |||
{Name: "Domain", Type: "string", Description: "Domain name of the knative service."}, | |||
{Name: "Name", Type: "string", Description: "Name of the Knative service."}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: navidshaikh, rhuss The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
5b10a2d
to
fb69f8d
Compare
…g service Starting with 0.7.0 old fields are not populated anymore. Let's switch to the new fields then. This fix should work with 0.6.0, too as the new fields already have been populated back then. So we can unconditionally pick status.address.url which is accordance with our policy to support the latest release and the release before. Fixes knative#246.
fb69f8d
to
bc10bbf
Compare
/lgtm |
This makes the context of the message more clear (for example, during a release).
Starting with 0.7.0 old fields are not populated anymore. Let's switch to the new fields then.
This fix should work with 0.6.0, too as the new fields already have been populated back then.
So we can unconditionally pick status.address.url which is accordance with
our policy to support the latest release and the release before.
Fixes #246.