Project

Profile

Help

Refactor #1067

closed

pulp_nodes should make use of the mongoengine Repository model

Added by amacdona@redhat.com almost 9 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Low
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

Currently, pulp_nodes is expecting a dictionary representation of a repository, but it should be using the repository object instead.

The repo object was introduced in this PR, https://github.com/pulp/pulp/pull/1931, but given the size of that work, I did not think that it was appropriate to refactor pulp_nodes at the same time.

https://github.com/pulp/pulp/blob/master/nodes/child/pulp_node/handlers/model.py#L63

Also available in: Atom PDF