Actions
Refactor #1046
closedpulp.server.async.celery_instance.create_mongo_config() and pulp.server.db.connection.initialize() contain a nearly identical code block
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
pulp.server.async.celery_instance.create_mongo_config() and pulp.server.db.connection.initialize() duplicate the effort of converting the settings in /etc/pulp/server.conf into a pymongo config.
We should refactor this effort out into a single function that they both use so that bug fixes can be made in one place instead of two. They do things a little bit differently as it is, which is confusing.
Actions