mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
Fixes issue #132, if image does not have any fixed tags, empty list with no error should be returned
This commit is contained in:
@@ -297,7 +297,5 @@ func (r *queryResolver) ImageListWithCVEFixed(ctx context.Context, id string, im
|
||||
|
||||
r.cveInfo.Log.Info().Msg("Input image does not contain any tag that does not have given cve")
|
||||
|
||||
imgResultForFixedCVE = &ImgResultForFixedCve{}
|
||||
|
||||
return imgResultForFixedCVE, errors.ErrFixedTagNotFound
|
||||
return imgResultForFixedCVE, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user