Quellcode durchsuchen

fix ooc recursion on aws

AjayTripathy vor 6 Jahren
Ursprung
Commit
33179df5c5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      pkg/cloud/awsprovider.go

+ 1 - 1
pkg/cloud/awsprovider.go

@@ -1206,7 +1206,7 @@ func (a *AWS) ExternalAllocations(start string, end string, aggregators []string
 	}
 
 	if customPricing.BillingDataDataset != "" && !crossCluster { // There is GCP data, meaning someone has tried to configure a GCP out-of-cluster allocation.
-		gcp, err := NewCrossClusterProvider("gcp", "gcp.json", a.Clientset)
+		gcp, err := NewCrossClusterProvider("gcp", "aws.json", a.Clientset)
 		if err != nil {
 			klog.Infof("Could not instantiate cross-cluster provider %s", err.Error())
 		}