Project

Profile

Help

Issue #3432

closed

Misleading documentation (or bug?): update a distributor

Added by twaugh about 6 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

The documentation for updating a distributor says "distributor_config (object) - (optional)" (https://docs.pulpproject.org/dev-guide/integration/rest-api/repo/cud.html#update-a-distributor-associated-with-a-repository).

However, if this is not provided at all a traceback is seen. Instead it must be provided (as {}).

https://github.com/pulp/pulp/blob/a4038809ff82ae7a02cfa5c8e9d89deeab77ea35/server/pulp/server/controllers/distributor.py#L209

Also available in: Atom PDF