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

Duplicated code for connecting to etcd? #862

Open
dahorak opened this issue Dec 11, 2018 · 0 comments
Open

Duplicated code for connecting to etcd? #862

dahorak opened this issue Dec 11, 2018 · 0 comments

Comments

@dahorak
Copy link

dahorak commented Dec 11, 2018

There seems to be duplicated code for connecting to etcd database, for example in following files:

In the first file, there is similar code even twice in the same file - between lines 21-51 and later 121-156 - while the second occurrence slightly more robust, including error handling.
What is the reason for the duplication? And why one of the part is more robust and contains also error handling, while the rest four occurrences not?

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

No branches or pull requests

1 participant