removed getLastScanId function

This commit is contained in:
Avinesh Tripathi
2022-09-21 23:37:08 +05:30
parent 37ffe86d8b
commit d8f95edff5
@@ -5,12 +5,6 @@ import (
grafeaspb "google.golang.org/genproto/googleapis/grafeas/v1"
)
func (GCPAdaptor *GCPAdaptor) getImageLastScanId(imageID *registryvulnerabilities.ContainerImageIdentifier) (string, error) {
// TODO
return "", nil
}
func responseObjectToVulnerabilities(vulnerabilityList []*grafeaspb.Occurrence, count int) []registryvulnerabilities.Vulnerability {
vulnerabilities := make([]registryvulnerabilities.Vulnerability, count)
for i, vulnerabilityEntry := range vulnerabilityList {