-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
There seems to be duplicated code for connecting to etcd database, for example in following files:
- tendrl_gluster_brick_disk_stats.py - lines 21-51 and 121-156,
- tendrl_glusterfs_health_counters.py - lines 24-50,
- tendrl_glusterfs_brick_utilization.py - lines 24-50,
- tendrl_glusterfs_profile_info.py - lines 85-111
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
Labels
No labels