فهرست منبع

consider cloud type for reconciliation match

Signed-off-by: Sean Holcomb <seanholcomb@gmail.com>
Sean Holcomb 3 سال پیش
والد
کامیت
b347ef8d21
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
 		}