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

replace method that was erroneously removed

Sean Holcomb 4 éve
szülő
commit
397a3eef5f
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      pkg/cloud/awsprovider.go

+ 4 - 0
pkg/cloud/awsprovider.go

@@ -2056,3 +2056,7 @@ func (aws *AWS) ServiceAccountStatus() *ServiceAccountStatus {
 func (aws *AWS) CombinedDiscountForNode(instanceType string, isPreemptible bool, defaultDiscount, negotiatedDiscount float64) float64 {
 func (aws *AWS) CombinedDiscountForNode(instanceType string, isPreemptible bool, defaultDiscount, negotiatedDiscount float64) float64 {
 	return 1.0 - ((1.0 - defaultDiscount) * (1.0 - negotiatedDiscount))
 	return 1.0 - ((1.0 - defaultDiscount) * (1.0 - negotiatedDiscount))
 }
 }
+
+func (aws *AWS) Regions() []string {
+	return awsRegions
+}