internal/cloudapi: remove support for pulp.ostree upload target
It turned out that the target was never adopted by the service, thus it is being deleted as part of upload code consolidation. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
520b94e24a
commit
742633662d
6 changed files with 34 additions and 118 deletions
|
|
@ -277,12 +277,6 @@ func (h *apiHandlers) targetResultToUploadStatus(jobId uuid.UUID, t *target.Targ
|
|||
fromErr = uploadOptions.FromOCIUploadStatus(OCIUploadStatus{
|
||||
Url: ociOptions.URL,
|
||||
})
|
||||
case target.TargetNamePulpOSTree:
|
||||
uploadType = UploadTypesPulpOstree
|
||||
pulpOSTreeOptions := t.Options.(*target.PulpOSTreeTargetResultOptions)
|
||||
fromErr = uploadOptions.FromPulpOSTreeUploadStatus(PulpOSTreeUploadStatus{
|
||||
RepoUrl: pulpOSTreeOptions.RepoURL,
|
||||
})
|
||||
case target.TargetNameWorkerServer:
|
||||
uploadType = UploadTypesLocal
|
||||
workerServerOptions := t.Options.(*target.WorkerServerTargetResultOptions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue