From f40f6a5ab6ebf4275be58c1b2e3a48c246f9df2e Mon Sep 17 00:00:00 2001 From: Quentin Machu Date: Thu, 18 Feb 2016 15:35:49 -0500 Subject: [PATCH] api: add missing link field in vulnerability in getLayer --- api/v1/models.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v1/models.go b/api/v1/models.go index 3970e361..f606204f 100644 --- a/api/v1/models.go +++ b/api/v1/models.go @@ -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, }