vuln-service: use new clair namespace field name
This commit is contained in:
parent
d093a7bde5
commit
48e0c44dbb
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Reference in a new issue