Project

Profile

Help

Issue #8727

closed

Type for Remote ... does not match Repository

Added by knzivid almost 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Debian:
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings
Sprint:
Quarter:

Description

What does remote field of an apt repository mean?

I am trying to create an apt repository with the field remote.pulp_href = "/pulp/api/v3/remotes/deb/apt/1f753d3b-1863-4282-a42f-cc94b0656dce/"

RepositoriesAptApi.create(DebAptRepository(name=self.name, remote=remote.pulp_href))

This gives me an error

{"remote":["Type for Remote 'my-remote-name' does not match Repository."]}

Does this mean apt remotes can not be a remote of apt repositories? Did I misunderstand what remote means here?

Also available in: Atom PDF