Skip to content
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

Use given name rather than regenerating it in UrlMap fake #169

Merged
merged 1 commit into from
Mar 26, 2018

Conversation

nikhiljindal
Copy link
Contributor

@nikhiljindal nikhiljindal commented Mar 26, 2018

This is what we do for all other resources like forwarding rule, target proxies, etc.
UrlMap is the only resource for which we use namer again.
Fixing this inconsistency.

Found while writing a test for GoogleCloudPlatform/k8s-multicluster-ingress#145 for kubemci. We pass a nil namer while instantiating FakeLoadBalancers in our tests.

cc @bowei @nicksardo @G-Harmon

@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 26, 2018
@nicksardo nicksardo added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 26, 2018
@nicksardo nicksardo merged commit f5c87b1 into kubernetes:master Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants