Skip to content

Commit

Permalink
Update pkg/iut/v1alpha1/v1alpha1.go
Browse files Browse the repository at this point in the history
Co-authored-by: Fredrik Fristedt <[email protected]>
  • Loading branch information
andmat900 and fredjn authored Oct 11, 2024
1 parent a0ff8ff commit 41d6d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/iut/v1alpha1/v1alpha1.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (h V1Alpha1Handler) Start(w http.ResponseWriter, r *http.Request, ps httpro
purl, err := packageurl.FromString(startReq.ArtifactIdentity)

if err != nil {
logger.Errorf("Failed to get purl from artifact identity: %s", startReq.ArtifactIdentity)
logger.Errorf("Failed to create a purl struct from artifact identity: %s", startReq.ArtifactIdentity)
RespondWithError(w, http.StatusBadRequest, err.Error())
return
}
Expand Down

0 comments on commit 41d6d59

Please sign in to comment.