Procházet zdrojové kódy

Merge pull request #2324 from kaelanspatel/kaelan-cloudcost-load-fix

Fix missing items in Azure CloudCosts
Sean Holcomb před 2 roky
rodič
revize
762fa73fe6
1 změnil soubory, kde provedl 2 přidání a 5 odebrání
  1. 2 5
      pkg/cloud/azure/azurestorageintegration.go

+ 2 - 5
pkg/cloud/azure/azurestorageintegration.go

@@ -67,11 +67,8 @@ func (asi *AzureStorageIntegration) GetCloudCost(start, end time.Time) (*kubecos
 			},
 			},
 		}
 		}
 
 
-		// Check if Item
-		if abv.IsCompute(cc.Properties.Category) {
-			// TODO: Will need to split VMSS for other features
-			ccsr.LoadCloudCost(cc)
-		}
+		ccsr.LoadCloudCost(cc)
+
 		return nil
 		return nil
 	})
 	})
 	if err != nil {
 	if err != nil {