Преглед изворни кода

Merge pull request #1376 from opencost/sean/bug-fix/cloud-recon

allow full matches on cloud type assets
Sean Holcomb пре 3 година
родитељ
комит
4b776a70c0
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      pkg/kubecost/asset.go

+ 2 - 2
pkg/kubecost/asset.go

@@ -2842,8 +2842,8 @@ func (as *AssetSet) ReconciliationMatchMap() map[string]map[string]Asset {
 			continue
 		}
 		props := asset.GetProperties()
-		// Ignore cloud assets and assets that cannot be matched when looking for reconciliation matches
-		if props == nil || props.ProviderID == "" || asset.Type() == CloudAssetType {
+		// Ignore assets that cannot be matched when looking for reconciliation matches
+		if props == nil || props.ProviderID == "" {
 			continue
 		}