-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The actual error is overridden and not returned from getImageWithRetryStrategy #1569
Comments
Currently, you will get an error, which includes:
Is this not clear enough? Could you elaborate on the ask here? |
@kzantow Thanks for the quick response.
The error that is currently returned is on a different image fetch trial, where "registry:" is concatenated to the image. |
I am facing the same issue. |
@kzantow @tgerla I've got the same problem when trying to scan an arm image with a amd cli
The error (
I've opened a PR to address it (#1801) |
Please provide a set of steps on how to reproduce the issue
Try to scan a non existing image, e.g.:
syft registry:docker.io/istio/examples-bookinfo-reviews-v1@sha256:b8f16a765eea1e53aadf59146b3ffede9d2a869d6edf7d1729fb83d5146bbef3
What happened:
The actual error is being printed only as warning (requires the -v flag, otherwise now way of knowing about it):
What you expected to happen:
That actual error will be returned as part of the error:
Anything else we need to know?:
Environment:
syft version
:Application: syft
Version: 0.71.0
JsonSchemaVersion: 6.2.0
BuildDate: 2023-02-09T16:35:11Z
GitCommit: 88c81d3
GitDescription: [not provided]
Platform: darwin/amd64
GoVersion: go1.19.5
Compiler: gc
cat /etc/os-release
or similar):ProductName: macOS
ProductVersion: 13.1
BuildVersion: 22C65
The text was updated successfully, but these errors were encountered: