Explorar el Código

check for licensing fee in in meter category when assigning category

Signed-off-by: Sean Holcomb <seanholcomb@gmail.com>
Sean Holcomb hace 2 años
padre
commit
40cd838b42
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {
-	if meterCategory == "Virtual Machines" {
+	if meterCategory == "Virtual Machines" || meterCategory == "Virtual Machines Licenses" {
 		return opencost.ComputeCategory
 	} else if meterCategory == "Storage" {
 		return opencost.StorageCategory