Просмотр исходного кода

replace method that was erroneously removed

Sean Holcomb 4 лет назад
Родитель
Сommit
397a3eef5f
1 измененных файлов с 4 добавлено и 0 удалено
  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
+}