api: add missing link field in vulnerability in getLayer

This commit is contained in:
Quentin Machu 2016-02-18 15:35:49 -05:00 committed by Jimmy Zelinskie
parent 6d2eedf121
commit f40f6a5ab6

View File

@ -71,6 +71,7 @@ func LayerFromDatabaseModel(dbLayer database.Layer, withFeatures, withVulnerabil
Name: dbVuln.Name,
Namespace: dbVuln.Namespace.Name,
Description: dbVuln.Description,
Link: dbVuln.Link,
Severity: string(dbVuln.Severity),
Metadata: dbVuln.Metadata,
}