Explorar o código

replace method that was erroneously removed

Sean Holcomb %!s(int64=4) %!d(string=hai) anos
pai
achega
397a3eef5f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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 {
 	return 1.0 - ((1.0 - defaultDiscount) * (1.0 - negotiatedDiscount))
 }
+
+func (aws *AWS) Regions() []string {
+	return awsRegions
+}