Skip to content

Conversation

@abhgupta
Copy link
Member

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about adding (err error) into func and then just call 'return' ?

@abhgupta abhgupta force-pushed the abhgupta-dev branch 2 times, most recently from e4f554a to 4733742 Compare September 18, 2014 23:30
@smarterclayton
Copy link
Contributor

What's the state of this pull?

@abhgupta abhgupta force-pushed the abhgupta-dev branch 2 times, most recently from 69ef9d1 to 74a3d65 Compare September 20, 2014 00:02
@abhgupta
Copy link
Member Author

@smarterclayton can you do a quick review to see if this is good enough for an initial merge?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest removing unnecessary code instead of commenting it out.

@abhgupta abhgupta force-pushed the abhgupta-dev branch 4 times, most recently from 7393a02 to fac49d7 Compare September 23, 2014 21:49
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The gofmt on this is wrong

@abhgupta abhgupta changed the title Initial draft for adding Route model and APIs Adding Route model and APIs Sep 23, 2014
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call it ServiceName instead.

@abhgupta
Copy link
Member Author

I have made changes for the other feedback you provided.

@abhgupta abhgupta force-pushed the abhgupta-dev branch 2 times, most recently from 2d9d644 to b791778 Compare September 23, 2014 23:58
@abhgupta
Copy link
Member Author

@smarterclayton made the change from Name to Host. Also, added a couple of extra parameters (Path and Scheme) and added validations and documentation. I tried to follow net/url URL struct fields for consistency and to be able to use that library for validations.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If both params are of the same type, you can shorten this to List(selector, fields labels.Selector).

@smarterclayton
Copy link
Contributor

Please squash

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be serviceName

@smarterclayton
Copy link
Contributor

Fix those remaining comments and squash

The Route resource maps a frontend with a service to allow a router
to route and/or load balance traffic to the service endpoints
@abhgupta
Copy link
Member Author

@smarterclayton done

@abhgupta
Copy link
Member Author

[merge]

@openshift-bot
Copy link
Contributor

Origin Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_openshift3/136/) (Image: devenv-fedora_200)

@openshift-bot
Copy link
Contributor

Evaluated for origin up to 374a702

@smarterclayton
Copy link
Contributor

retroactive LGTM

openshift-bot pushed a commit that referenced this pull request Sep 25, 2014
@openshift-bot openshift-bot merged commit 5bc43af into openshift:master Sep 25, 2014
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Feb 1, 2018
Registry is a runtime dependency of the k8s broker - a store
of definitions of service classes available via k8s broker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants