mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
reword constraint operator parsing error
This commit is contained in:
parent
7e4dad7c76
commit
25a24f0880
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ func splitConstraintPhrase(phrase string) ([]constraintPart, error) {
|
|||
for _, pair := range pairs {
|
||||
op, err := ParseOperator(pair["operator"])
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("bad operator parse: %+v", err)
|
||||
return nil, fmt.Errorf("unable to parse constraint operator: %+v", err)
|
||||
}
|
||||
result = append(result, constraintPart{
|
||||
operator: op,
|
||||
|
|
Loading…
Reference in a new issue