mirror of
https://github.com/anchore/syft.git
synced 2026-10-11 21:57:22 +02:00
chore(deps): update tools to latest versions (#3121)
* chore(deps): update tools to latest versions Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: update code to reflect new linter settings for error messages Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> Co-authored-by: spiffcs <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
co-authored by
spiffcs
parent
4ff60ee837
commit
4b7ae0ed3b
Vendored
+1
-1
@@ -34,7 +34,7 @@ func (r *errorResolver[T]) Resolve(key string, resolver resolverFunc[T]) (T, err
|
||||
return v.Value, err
|
||||
}
|
||||
if v.Error != "" {
|
||||
return v.Value, fmt.Errorf(v.Error)
|
||||
return v.Value, fmt.Errorf("failed to resolve cache: %s", v.Error)
|
||||
}
|
||||
return v.Value, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user