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

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

allow full matches on cloud type assets
Sean Holcomb 3 лет назад
Родитель
Сommit
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
 		}