prepare_service() - duplicate function
Bug #1525842 reported by
Vincent Françoise
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
watcher |
Fix Released
|
Low
|
Gábor Antal |
Bug Description
The prepare_service() function is defined both in watcher/service.py and in watcher/
These 2 should be merged into a single one to avoid code duplication.
At the same time, the watcher/service.py only contains this function, so if we move it to watcher/
Changed in watcher: | |
importance: | Undecided → Low |
milestone: | none → mitaka-2 |
Changed in watcher: | |
assignee: | nobody → Gábor Antal (gabor.antal) |
Changed in watcher: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/258007 /git.openstack. org/cgit/ openstack/ watcher/ commit/ ?id=f0b58f8c271 7339901683e79c4 39e8423ae4bab3
Committed: https:/
Submitter: Jenkins
Branch: master
commit f0b58f8c2717339 901683e79c439e8 423ae4bab3
Author: Gábor Antal <email address hidden>
Date: Tue Dec 15 17:48:40 2015 +0100
Removed duplicated function prepare_service()
The prepare_service() function is defined both in watcher/service.py common/ service. py.
and in watcher/
These 2 needed to be merged into a single one
to avoid code duplication.
At the same time, the watcher/service.py only contains this function,
so I removed that file.
Change-Id: I0c935dfcd011be e9597315752dae8 668221c53f9
Closes-Bug: #1525842