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

Removing duplicate NewEtcdStorage code #18136

Merged

Conversation

nikhiljindal
Copy link
Contributor

Forked from #18113

Removing NewEtcdStorage method from master and replacing its callers by etcdstorage.NewEtcdStorage() which does the same thing.

cc @caesarxuchao @wojtek-t

@k8s-github-robot
Copy link

Labelling this PR as size/L

@k8s-github-robot k8s-github-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 3, 2015
@wojtek-t wojtek-t assigned wojtek-t and unassigned derekwaynecarr Dec 3, 2015
@k8s-bot
Copy link

k8s-bot commented Dec 3, 2015

GCE e2e test build/test passed for commit 870463e14a0b83ea9f91902e1785cb1bc4e17160.

if err != nil {
t.Fatalf("unexpected error: %v", err)
}
etcdStorage := framework.NewEtcdStorage()
Copy link
Member

Choose a reason for hiding this comment

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

It seems that this one (and the following lines, e.g. the whole storageDestinations-related code) is no longer needed.
Can you please remove it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@wojtek-t
Copy link
Member

wojtek-t commented Dec 3, 2015

@nikhiljindal - great cleanup - thanks!

I added some comments to remove some more no-longer needed code.

@k8s-bot
Copy link

k8s-bot commented Dec 3, 2015

GCE e2e test build/test passed for commit 7112317c809d8a7fd7c2006ab9edc3619d3b89b9.

@nikhiljindal
Copy link
Contributor Author

Thanks @wojtek-t
Removed code as per your comments.
PTAL

@wojtek-t
Copy link
Member

wojtek-t commented Dec 3, 2015

Great - thanks!

LGTM

@wojtek-t wojtek-t added lgtm "Looks good to me", indicates that a PR is ready to be merged. e2e-not-required labels Dec 3, 2015
@wojtek-t
Copy link
Member

wojtek-t commented Dec 3, 2015

unit test failure is: #18050

@k8s-bot unit test this please

@k8s-github-robot
Copy link

Travis continuous integration appears to have missed, closing and re-opening to trigger it

@k8s-bot
Copy link

k8s-bot commented Dec 3, 2015

GCE e2e test build/test passed for commit 5c556ba.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

k8s-github-robot pushed a commit that referenced this pull request Dec 3, 2015
@k8s-github-robot k8s-github-robot merged commit 6479f5e into kubernetes:master Dec 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants