Ajay Tripathy 5 лет назад
Родитель
Сommit
8583d86f9c
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      pkg/cloud/awsprovider.go

+ 1 - 3
pkg/cloud/awsprovider.go

@@ -70,10 +70,8 @@ func (aws *AWS) PricingSourceStatus() map[string]*PricingSource {
 	rps.Error = aws.RIPricingStatus
 	if rps.Error != "" {
 		rps.Available = false
-	} else if len(aws.RIPricingByInstanceID) > 0 {
-		rps.Available = true
 	} else {
-		rps.Error = "No reserved instances detected"
+		rps.Available = true
 	}
 	sources[ReservedInstancePricingSource] = rps
 	return sources