Forráskód Böngészése

Remove erroneous conditional in azure ccsr parse

Signed-off-by: Kaelan Patel <kaelanspatel@gmail.com>
Kaelan Patel 2 éve
szülő
commit
4438e0e9c9
1 módosított fájl, 2 hozzáadás és 5 törlés
  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
 	})
 	if err != nil {