update error message
This commit is contained in:
parent
3fd309bdde
commit
47a8f4bbdd
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ func GetOCIAttestations(c FetchAttestationsConfig) ([]*api.Attestation, error) {
|
|||
return nil, fmt.Errorf("failed to fetch OCI attestations: %w", err)
|
||||
}
|
||||
if len(attestations) == 0 {
|
||||
return nil, fmt.Errorf("no OCI attestations found")
|
||||
return nil, fmt.Errorf("no attestations found in the OCI registry. Retry the command without the --bundle-from-oci flag to check GitHub for the attestation")
|
||||
}
|
||||
return attestations, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue