We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 033bf50 + 0c05bd0 commit 0885423Copy full SHA for 0885423
api-service/service/host_cluster_veritas.go
@@ -68,6 +68,10 @@ func removeDuplicates(licenses []dto.ClusterVeritasLicense) []dto.ClusterVeritas
68
unique := []dto.ClusterVeritasLicense{}
69
70
for _, license := range licenses {
71
+ if license.ID == "" {
72
+ continue
73
+ }
74
+
75
key := license.LicenseTypeID + "|" + license.Description + "|" + license.Metric + "|" + license.ID
76
if !check[key] {
77
check[key] = true
0 commit comments