Просмотр исходного кода

consider cloud type for reconciliation match

Signed-off-by: Sean Holcomb <seanholcomb@gmail.com>
Sean Holcomb 3 лет назад
Родитель
Сommit
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
 		}