Browse Source

Remove erroneous conditional in azure ccsr parse

Signed-off-by: Kaelan Patel <kaelanspatel@gmail.com>
Kaelan Patel 2 years ago
parent
commit
4438e0e9c9
1 changed files with 2 additions and 5 deletions
  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 {