Skip to content

Duplicated code for connecting to etcd? #862

@dahorak

Description

@dahorak

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions