Ver Fonte

check for licensing fee in in meter category when assigning category

Signed-off-by: Sean Holcomb <seanholcomb@gmail.com>
Sean Holcomb há 2 anos atrás
pai
commit
d810b55da3
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      pkg/cloud/azure/billingexportparser.go

+ 1 - 1
pkg/cloud/azure/billingexportparser.go

@@ -285,7 +285,7 @@ func AzureSetProviderID(abv *BillingRowValues) (providerID string, isVMSSShared
 }
 }
 
 
 func SelectAzureCategory(meterCategory string) string {
 func SelectAzureCategory(meterCategory string) string {
-	if meterCategory == "Virtual Machines" {
+	if meterCategory == "Virtual Machines" || meterCategory == "Virtual Machines Licenses" {
 		return opencost.ComputeCategory
 		return opencost.ComputeCategory
 	} else if meterCategory == "Storage" {
 	} else if meterCategory == "Storage" {
 		return opencost.StorageCategory
 		return opencost.StorageCategory