vuln-service: use new clair namespace field name

This commit is contained in:
Jimmy Zelinskie 2016-03-16 15:57:34 -04:00
parent d093a7bde5
commit 48e0c44dbb

View file

@ -116,7 +116,7 @@ angular.module('quay').factory('VulnerabilityService', ['Config', 'ApiService',
'cvssColor': vulnService.getCVSSColor(cvssScore),
'name': vuln.Name,
'namespace': vuln.Namespace,
'namespace': vuln.NamespaceName || vuln.Namespace,
'description': vuln.Description,
'link': vuln.Link,
'severity': vuln.Severity,
@ -216,7 +216,7 @@ angular.module('quay').factory('VulnerabilityService', ['Config', 'ApiService',
var feature_obj = {
'name': feature.Name,
'namespace': feature.Namespace,
'namespace': feature.NamespaceName || feature.Namespace,
'version': feature.Version,
'addedBy': feature.AddedBy,
'imageId': addedByImageId,