-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Removing duplicate NewEtcdStorage code #18136
Conversation
Labelling this PR as size/L |
GCE e2e test build/test passed for commit 870463e14a0b83ea9f91902e1785cb1bc4e17160. |
870463e
to
7112317
Compare
if err != nil { | ||
t.Fatalf("unexpected error: %v", err) | ||
} | ||
etcdStorage := framework.NewEtcdStorage() |
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.
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?
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.
Done
@nikhiljindal - great cleanup - thanks! I added some comments to remove some more no-longer needed code. |
GCE e2e test build/test passed for commit 7112317c809d8a7fd7c2006ab9edc3619d3b89b9. |
7112317
to
5c556ba
Compare
Thanks @wojtek-t |
Great - thanks! LGTM |
Travis continuous integration appears to have missed, closing and re-opening to trigger it |
GCE e2e test build/test passed for commit 5c556ba. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
Forked from #18113
Removing NewEtcdStorage method from master and replacing its callers by etcdstorage.NewEtcdStorage() which does the same thing.
cc @caesarxuchao @wojtek-t