Skip to content

fix: read from response body in DownloadArtifact#376

Open
Manar-Elhabbal7 wants to merge 1 commit into
microcks:masterfrom
Manar-Elhabbal7:fix-artifact-download
Open

fix: read from response body in DownloadArtifact#376
Manar-Elhabbal7 wants to merge 1 commit into
microcks:masterfrom
Manar-Elhabbal7:fix-artifact-download

Conversation

@Manar-Elhabbal7
Copy link
Copy Markdown

Description

When using import-url, the CLI was showing an empty message:
Microcks has discovered ''.

This happened because the code was reading the response from the wrong place (req.Body instead of resp.Body), so it couldn’t get the server message

before solving it :

image

after solving it

Screenshot from 2026-05-12 23-26-10

Related issue(s) #375

Signed-off-by: Manar Elhabbal <manarelhabbal619@gmail.com>
@Manar-Elhabbal7 Manar-Elhabbal7 force-pushed the fix-artifact-download branch from 8c2686a to 0ade8bd Compare May 12, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant